From 1f516e34b63380f6d9ea22ee14929c8967b0dba4 Mon Sep 17 00:00:00 2001 From: Ben McIlwain Date: Thu, 15 Feb 2024 18:25:14 -0500 Subject: [PATCH] Add some shortcut flags to update allocation tokens command (#2321) --- .../registry/tools/UpdateAllocationTokensCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/google/registry/tools/UpdateAllocationTokensCommand.java b/core/src/main/java/google/registry/tools/UpdateAllocationTokensCommand.java index 0e7228428..a89d87a0e 100644 --- a/core/src/main/java/google/registry/tools/UpdateAllocationTokensCommand.java +++ b/core/src/main/java/google/registry/tools/UpdateAllocationTokensCommand.java @@ -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 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;