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",
usage = "optionPermissionType",
required = true,
metaVar="metaVar_permissionType",
metaVar="permissiontype",
aliases = { "-t" }
)
private PermissionType type;

View File

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

View File

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

View File

@@ -108,6 +108,6 @@ public class SubCommandOptionHandler extends OptionHandler<SubCommand>
@Override
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
groupNotFoun = The group could not be found
metaVar_config = configname
metaVar_arg = subcommand arguments
metaVar_command = subcommand
metaVar_permissionType = value
metaVar_groupName = groupname
config = configname
arg = subcommand arguments
command = subcommand
permissiontype = value
groupname = groupname
config = Configuration
misc = Miscellaneous