mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 02:36:03 +02:00
Add some shortcut flags to update allocation tokens command (#2321)
This commit is contained in:
parent
70942c87d1
commit
1f516e34b6
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ import org.joda.time.DateTime;
|
|||
final class UpdateAllocationTokensCommand extends UpdateOrDeleteAllocationTokensCommand {
|
||||
|
||||
@Parameter(
|
||||
names = {"--allowed_client_ids"},
|
||||
names = {"-c", "--allowed_client_ids"},
|
||||
description =
|
||||
"Comma-separated list of allowed client IDs. Use the empty string to clear the "
|
||||
+ "existing list.",
|
||||
|
@ -60,7 +60,7 @@ final class UpdateAllocationTokensCommand extends UpdateOrDeleteAllocationTokens
|
|||
private List<String> allowedClientIds;
|
||||
|
||||
@Parameter(
|
||||
names = {"--allowed_tlds"},
|
||||
names = {"-t", "--allowed_tlds"},
|
||||
description =
|
||||
"Comma-separated list of allowed TLDs. Use the empty string to clear the "
|
||||
+ "existing list.",
|
||||
|
@ -91,7 +91,7 @@ final class UpdateAllocationTokensCommand extends UpdateOrDeleteAllocationTokens
|
|||
private Boolean discountPremiums;
|
||||
|
||||
@Parameter(
|
||||
names = {"--discount_years"},
|
||||
names = {"-y", "--discount_years"},
|
||||
description = "The number of years the discount applies for. Default is 1, max value is 10.")
|
||||
private Integer discountYears;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue