Add some shortcut flags to update allocation tokens command (#2321)

This commit is contained in:
Ben McIlwain 2024-02-15 18:25:14 -05:00 committed by GitHub
parent 70942c87d1
commit 1f516e34b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;