X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FCLIHandler.pm;h=802ce87aa0c5d7224255319fcc06db407eca6b03;hb=93e9f666abaa50fb19e565055d14fd3649b0f86f;hp=2f607cd2a59dce7f4dd7771884b25712d753beed;hpb=5c1556cd27c93705eef1d02f2d09e0c245212e67;p=pve-common.git diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm index 2f607cd..802ce87 100644 --- a/src/PVE/CLIHandler.pm +++ b/src/PVE/CLIHandler.pm @@ -190,7 +190,6 @@ sub generate_usage_str { my $param_cb = $gen_param_mapping_func->($cli_handler_class); my ($subcmd, $def, undef, undef, $cmdstr) = resolve_cmd($cmd); - $abort->("unknown command '$cmdstr'") if !defined($def) && ref($cmd) eq 'ARRAY'; my $generate; $generate = sub {