generate_usage_str: do no generate help for unknown commands
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 13 Jun 2018 05:54:33 +0000 (07:54 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 13 Jun 2018 06:08:16 +0000 (08:08 +0200)
commit7e1ea9f29034aba2e765e40514a9971c1add21c8
tree6edfefcf60319b57d3ae4a18c4a477e552ed8348
parentb133a905129381b7c066c216e93adca67654312f
generate_usage_str: do no generate help for unknown commands

Before:

...
USAGE: pvesm aaa zfsscan

With this patch applied:

no such command 'aaa'
PVE/CLIHandler.pm