remove metavar prefix

This commit is contained in:
Sebastian Sdorra
2011-05-22 15:27:07 +02:00
parent 347476b43f
commit 015ab637eb
5 changed files with 13 additions and 9 deletions

View File

@@ -140,7 +140,7 @@ public class AddPermissionSubCommand extends PermissionSubCommand
name = "--type", name = "--type",
usage = "optionPermissionType", usage = "optionPermissionType",
required = true, required = true,
metaVar="metaVar_permissionType", metaVar="permissiontype",
aliases = { "-t" } aliases = { "-t" }
) )
private PermissionType type; private PermissionType type;

View File

@@ -92,6 +92,10 @@ public class DeleteGroupSubCommand extends SubCommand
//~--- fields --------------------------------------------------------------- //~--- fields ---------------------------------------------------------------
/** Field description */ /** Field description */
@Argument(usage = "optionGroupName", required = true) @Argument(
usage = "optionGroupName",
metaVar = "groupname",
required = true
)
private String name; private String name;
} }

View File

@@ -156,7 +156,7 @@ public abstract class MembersSubCommand extends TemplateSubCommand
/** Field description */ /** Field description */
@Argument( @Argument(
usage = "optionGroupName", usage = "optionGroupName",
metaVar = "metaVar_groupName", metaVar = "groupname",
required = true required = true
) )
private String name; private String name;

View File

@@ -108,6 +108,6 @@ public class SubCommandOptionHandler extends OptionHandler<SubCommand>
@Override @Override
public String getDefaultMetaVariable() public String getDefaultMetaVariable()
{ {
return "metaVar_command"; return "command";
} }
} }

View File

@@ -67,11 +67,11 @@ repositoryNotFound = The repository is not available
userNotFound = The user could not be found userNotFound = The user could not be found
groupNotFoun = The group could not be found groupNotFoun = The group could not be found
metaVar_config = configname config = configname
metaVar_arg = subcommand arguments arg = subcommand arguments
metaVar_command = subcommand command = subcommand
metaVar_permissionType = value permissiontype = value
metaVar_groupName = groupname groupname = groupname
config = Configuration config = Configuration
misc = Miscellaneous misc = Miscellaneous