protected virtual void PrintUsage(ICommand command, CommandLineParser parser)
{
if (command.Types.HasFlag(CommandTypes.HasSubCommand) == true)
{
if (this.SubCommandName != string.Empty)
parser.PrintMethodUsage(this.SubCommandName);
else
parser.PrintMethodUsage();
}
else
{
parser.PrintUsage();
}
}