mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-07 21:53:32 +00:00
generate_pod_manpage: fix for 'simple' commands
This commit is contained in:
parent
4347914633
commit
bb958629be
@ -333,7 +333,7 @@ sub generate_pod_manpage {
|
|||||||
no strict 'refs';
|
no strict 'refs';
|
||||||
my $def = ${"${class}::cmddef"};
|
my $def = ${"${class}::cmddef"};
|
||||||
|
|
||||||
if (ref($def eq 'ARRAY')) {
|
if (ref($def) eq 'ARRAY') {
|
||||||
print_simple_pod_manpage($podfn, @$def);
|
print_simple_pod_manpage($podfn, @$def);
|
||||||
} else {
|
} else {
|
||||||
$cmddef = $def;
|
$cmddef = $def;
|
||||||
|
Loading…
Reference in New Issue
Block a user