Skip to content

Commit

Permalink
fix(core): kas registry get should allow -i 'id' flag shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Nov 20, 2024
1 parent f675d86 commit 8b371ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/man/policy/kas-registry/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ command:
- g
flags:
- name: id
long: id
shorthand: i
description: ID of the Key Access Server registration
required: true
---
Expand Down
2 changes: 1 addition & 1 deletion e2e/kas-registry.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8b371ff

Please sign in to comment.