ktutil: Add list --json option

This commit is contained in:
Nicolas Williams
2022-10-01 11:53:23 -05:00
parent 6297b76362
commit 69dc89b39a
4 changed files with 151 additions and 10 deletions

View File

@@ -226,6 +226,11 @@ command = {
type = "flag"
help = "show timestamps"
}
option = {
long = "json"
type = "flag"
help = "output JSON representation"
}
max_args = "0"
function = "kt_list"
help = "Show contents of keytab."