From 7236cdb1c73e4d91fea0f202972969af97f08d83 Mon Sep 17 00:00:00 2001 From: krwong <69482343+krwong@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:14:13 -0400 Subject: [PATCH] add accepted patron roles to permissions generate help text (#110) --- .../edu/unc/lib/boxc/migration/cdm/PermissionsCommand.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/edu/unc/lib/boxc/migration/cdm/PermissionsCommand.java b/src/main/java/edu/unc/lib/boxc/migration/cdm/PermissionsCommand.java index 8b1ca115..1a088be5 100644 --- a/src/main/java/edu/unc/lib/boxc/migration/cdm/PermissionsCommand.java +++ b/src/main/java/edu/unc/lib/boxc/migration/cdm/PermissionsCommand.java @@ -33,7 +33,9 @@ public class PermissionsCommand { private PermissionsService permissionsService; @Command(name = "generate", - description = "Generate the permissions mapping file for this project") + description = { "Generate the permissions mapping file for this project. " + + "Acceptable input values for patron roles: none, canDiscover, canViewMetadata, " + + "canViewAccessCopies, canViewReducedQuality, canViewOriginals." }) public int generate(@Mixin PermissionMappingOptions options) throws Exception { long start = System.nanoTime(); try {