fix #3856 hint parameter is not optional

For the API the parameter --hint is not optional. This patch fixes
the man page and cli command doesn't send an API call, if the
parameter does not exist.

Signed-off-by: Markus Frank <m.frank@proxmox.com>
This commit is contained in:
Markus Frank 2022-02-03 12:57:26 +01:00 committed by Thomas Lamprecht
parent af35bc8b9c
commit fce49eab30

View File

@ -145,7 +145,6 @@ fn show_key(
}, },
hint: { hint: {
schema: PASSWORD_HINT_SCHEMA, schema: PASSWORD_HINT_SCHEMA,
optional: true,
}, },
}, },
}, },