add bash completion for content type
This commit is contained in:
@ -34,6 +34,7 @@ __PACKAGE__->register_method ({
|
||||
description => "Only list content of this type.",
|
||||
type => 'string', format => 'pve-storage-content',
|
||||
optional => 1,
|
||||
completion => \&PVE::Storage::complete_content_type,
|
||||
},
|
||||
vmid => get_standard_option
|
||||
('pve-vmid', {
|
||||
|
||||
@ -49,6 +49,7 @@ __PACKAGE__->register_method ({
|
||||
description => "Only list stores which support this content type.",
|
||||
type => 'string', format => 'pve-storage-content-list',
|
||||
optional => 1,
|
||||
completion => \&PVE::Storage::complete_content_type,
|
||||
},
|
||||
enabled => {
|
||||
description => "Only list stores which are enabled (not disabled in config).",
|
||||
|
||||
Reference in New Issue
Block a user