mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-16 16:39:58 +00:00
print_usage_short: do not group subcommands
For examply, do not group 'qm guest' usage. Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
7b2ba123b4
commit
c701c5659e
@ -337,7 +337,7 @@ sub print_usage_short {
|
||||
print $fd "ERROR: $msg\n" if $msg;
|
||||
print $fd "USAGE: $exename <COMMAND> [ARGS] [OPTIONS]\n\n";
|
||||
|
||||
print {$fd} generate_usage_str('short', $cmd, ' ' x 7, "\n", sub {
|
||||
print {$fd} generate_usage_str('short', $cmd, ' ' x 7, $cmd ? '' : "\n", sub {
|
||||
my ($h) = @_;
|
||||
return sort {
|
||||
if (ref($h->{$a}) eq 'ARRAY' && ref($h->{$b}) eq 'ARRAY') {
|
||||
|
Loading…
Reference in New Issue
Block a user