diff --git a/data/PVE/JSONSchema.pm b/data/PVE/JSONSchema.pm index e87c22e..f69ecbf 100644 --- a/data/PVE/JSONSchema.pm +++ b/data/PVE/JSONSchema.pm @@ -860,7 +860,7 @@ sub get_options { my @getopt = (); foreach my $prop (keys %{$schema->{properties}}) { my $pd = $schema->{properties}->{$prop}; - next if $prop eq $list_param; + next if $list_param && $prop eq $list_param; next if defined($uri_param->{$prop}); if ($prop eq 'password' && $pwcallback) {