mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-03 03:09:42 +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';
|
||||
my $def = ${"${class}::cmddef"};
|
||||
|
||||
if (ref($def eq 'ARRAY')) {
|
||||
if (ref($def) eq 'ARRAY') {
|
||||
print_simple_pod_manpage($podfn, @$def);
|
||||
} else {
|
||||
$cmddef = $def;
|
||||
|
Loading…
Reference in New Issue
Block a user