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