mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-25 21:25:20 +00:00
Fix uninitialized subroutine error
This commit is contained in:
parent
ca060a8160
commit
6577ea458f
@ -574,8 +574,9 @@ sub usage_str {
|
|||||||
$base = "${name}[n]";
|
$base = "${name}[n]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $mapping = defined($stringfilemap) ? &$stringfilemap($name) : undef;
|
||||||
$opts .= &$get_property_description($base, 'arg', $prop->{$k}, 'text',
|
$opts .= &$get_property_description($base, 'arg', $prop->{$k}, 'text',
|
||||||
$hidepw, &$stringfilemap($name));
|
$hidepw, $mapping);
|
||||||
|
|
||||||
if (!$prop->{$k}->{optional}) {
|
if (!$prop->{$k}->{optional}) {
|
||||||
$args .= " " if $args;
|
$args .= " " if $args;
|
||||||
|
Loading…
Reference in New Issue
Block a user