mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
added missing metaVar attribute
This commit is contained in:
@@ -92,6 +92,10 @@ public class DeleteRepositorySubCommand extends SubCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionRepositoryId", required = true)
|
||||
@Argument(
|
||||
usage = "optionRepositoryId",
|
||||
metaVar = "repositoryid",
|
||||
required = true
|
||||
)
|
||||
private String id;
|
||||
}
|
||||
|
||||
@@ -92,6 +92,10 @@ public class DeleteUserSubCommand extends SubCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionUserName", required = true)
|
||||
@Argument(
|
||||
usage = "optionUserName",
|
||||
metaVar = "username",
|
||||
required = true
|
||||
)
|
||||
private String name;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,10 @@ public class GetGroupSubCommand extends TemplateSubCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionGroupName", required = true)
|
||||
@Argument(
|
||||
usage = "optionGroupName",
|
||||
metaVar = "groupname",
|
||||
required = true
|
||||
)
|
||||
private String name;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,6 @@ public class GetRepositorySubCommand extends TemplateSubCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionRepositoryId", required = true)
|
||||
@Argument(usage = "optionRepositoryId", metaVar="repositoryid", required = true)
|
||||
private String id;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,6 @@ public class GetUserSubCommand extends TemplateSubCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionUserName", required = true)
|
||||
@Argument(usage = "optionUserName", metaVar="username", required = true)
|
||||
private String name;
|
||||
}
|
||||
|
||||
@@ -129,6 +129,10 @@ public class ModifyGroupSubCommand extends TemplateSubCommand
|
||||
private String description;
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionGroupName", required = true)
|
||||
@Argument(
|
||||
usage = "optionGroupName",
|
||||
metaVar = "groupname",
|
||||
required = true
|
||||
)
|
||||
private String name;
|
||||
}
|
||||
|
||||
@@ -168,6 +168,10 @@ public class ModifyRepositorySubCommand extends TemplateSubCommand
|
||||
private String description;
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionRepositoryId", required = true)
|
||||
@Argument(
|
||||
usage = "optionRepositoryId",
|
||||
metaVar = "repositoryid",
|
||||
required = true
|
||||
)
|
||||
private String id;
|
||||
}
|
||||
|
||||
@@ -214,7 +214,11 @@ public class ModifyUserSubCommand extends TemplateSubCommand
|
||||
private String mail;
|
||||
|
||||
/** Field description */
|
||||
@Argument(usage = "optionUserName", required = true)
|
||||
@Argument(
|
||||
usage = "optionUserName",
|
||||
metaVar = "username",
|
||||
required = true
|
||||
)
|
||||
private String name;
|
||||
|
||||
/** Field description */
|
||||
|
||||
Reference in New Issue
Block a user