diff options
author | llua <llua@gmx.com> | 2014-04-05 16:46:25 -0400 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-04-06 16:57:48 +0100 |
commit | fe40b9c2a3f7e3dc282caf033525c1b4d2b4ddab (patch) | |
tree | 109dca943f461ca38e9a39ee4c54d553d4818084 | |
parent | 141f569c0f979254369b91e8018e8beaa2c6863a (diff) | |
download | zsh-fe40b9c2a3f7e3dc282caf033525c1b4d2b4ddab.tar.gz zsh-fe40b9c2a3f7e3dc282caf033525c1b4d2b4ddab.tar.xz zsh-fe40b9c2a3f7e3dc282caf033525c1b4d2b4ddab.zip |
complete zfs ... -o multiple times
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_zfs | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 6ba0856e4..fc518a40c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-04-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 32530: llua: Completion/Unix/Command/_zfs: repeatable -o + argument. + * 32521: Doc/Zsh/params.yo: document that LOGNAME comes from getlogin(). diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs index a9707ce36..cd5ad3edc 100644 --- a/Completion/Unix/Command/_zfs +++ b/Completion/Unix/Command/_zfs @@ -221,7 +221,7 @@ _zfs() { ("create") _arguments -A "-*" \ '-p[Create parent datasets]' \ - '-o[Set initial properties]:property:_values -s , "property" $create_properties' \ + '*-o[Set initial properties]:property:_values -s , "property" $create_properties' \ - set1 \ ':filesystem:_zfs_dataset -t fs -e "parent dataset"' \ - set2 \ @@ -246,7 +246,7 @@ _zfs() { ("snapshot") _arguments -A "-*" \ '-r[Recursively snapshot all descendant datasets]' \ - '-o[Set property]:property:_values -s , "property" $create_properties' \ + '*-o[Set property]:property:_values -s , "property" $create_properties' \ ':filesystem/volume:_zfs_dataset -t fs -t vol -S@' ;; @@ -263,7 +263,7 @@ _zfs() { _arguments -A "-*" \ '-p[Create parent datasets]' \ '-K[Create encryption key]' \ - '-o[Set property]:property:_values -s , "property" $create_properties' \ + '*-o[Set property]:property:_values -s , "property" $create_properties' \ ':snapshot:_zfs_dataset -t snap' \ ':filesystem/volume:_zfs_dataset -t fs -e "parent dataset"' ;; |