mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
remove metavar prefix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -108,6 +108,6 @@ public class SubCommandOptionHandler extends OptionHandler<SubCommand>
|
||||
@Override
|
||||
public String getDefaultMetaVariable()
|
||||
{
|
||||
return "metaVar_command";
|
||||
return "command";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user