improve bash completions

This commit is contained in:
Dietmar Maurer
2015-09-18 09:33:09 +02:00
parent c669f42d4e
commit f7621c0126
3 changed files with 30 additions and 3 deletions

View File

@ -20,7 +20,8 @@ cfs_register_file ('storage.cfg',
my $defaultData = {
propertyList => {
type => { description => "Storage type." },
storage => get_standard_option('pve-storage-id'),
storage => get_standard_option('pve-storage-id',
{ completion => \&PVE::Storage::complete_storage }),
nodes => get_standard_option('pve-node-list', { optional => 1 }),
content => {
description => "Allowed content types. Note: value 'rootdir' is used for Containers, and value 'images' for KVM-Qemu VM's.\n",