From 8b371ffe56d54bc76c39735640ea27fa044057e8 Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Wed, 20 Nov 2024 10:55:58 -0800 Subject: [PATCH] fix(core): kas registry get should allow -i 'id' flag shorthand --- docs/man/policy/kas-registry/get.md | 2 +- e2e/kas-registry.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/man/policy/kas-registry/get.md b/docs/man/policy/kas-registry/get.md index 6d35838b..cf19bd38 100644 --- a/docs/man/policy/kas-registry/get.md +++ b/docs/man/policy/kas-registry/get.md @@ -6,7 +6,7 @@ command: - g flags: - name: id - long: id + shorthand: i description: ID of the Key Access Server registration required: true --- diff --git a/e2e/kas-registry.bats b/e2e/kas-registry.bats index 394dc96f..d29f096a 100755 --- a/e2e/kas-registry.bats +++ b/e2e/kas-registry.bats @@ -107,7 +107,7 @@ teardown() { assert_output --partial "$PEM" assert_output --partial "$KID" - run_otdfctl_kasr get --id "$ID" --json + run_otdfctl_kasr get -i "$ID" --json assert_output --partial "$ID" assert_output --partial "$URI" assert_output --partial "uri"