added brace style support for sub command