summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_visudo
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-12-24 04:40:22 +0100
committerAxel Beckert <abe@deuxchevaux.org>2018-12-24 04:40:22 +0100
commitbf8b7f713a5b04a191f4596fb86bbbfca0a855ce (patch)
treeb647a8dc990c8c845b8a8eca7bf92fbbf17e1fb5 /Completion/Unix/Command/_visudo
parent06946d431a4426c6e5dffec1d7edb17c1dbd467c (diff)
parent9dbde9e9c7d22ee0d301e4a2fecf97906d1ddce9 (diff)
downloadzsh-bf8b7f713a5b04a191f4596fb86bbbfca0a855ce.tar.gz
zsh-bf8b7f713a5b04a191f4596fb86bbbfca0a855ce.zip
New upstream release candidate 5.6.2-test-2
Merge branch 'upstream' at 'zsh-5.6.2-test-2' into branch debian
Diffstat (limited to 'Completion/Unix/Command/_visudo')
-rw-r--r--Completion/Unix/Command/_visudo12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_visudo b/Completion/Unix/Command/_visudo
new file mode 100644
index 000000000..2cb6d85a5
--- /dev/null
+++ b/Completion/Unix/Command/_visudo
@@ -0,0 +1,12 @@
+#compdef visudo
+
+_arguments -s -S : \
+ '(: * -)'{-h,--help}'[display help information]' \
+ '(: * -)'{-V,--version}'[display version information]' \
+ '(-f --file)'{-f+,--file=}'[specify sudoers file]:sudoers file:_files' \
+ + c \
+ '(x -c --check)'{-c,--check}'[check sudoers file for errors only]' \
+ '(-q --quiet)'{-q,--quiet}'[suppress error messages (with -c)]' \
+ '(x -s --strict)'{-s,--strict}'[enable strict checking]' \
+ + '(x)' \
+ '(c)'{-x+,--export=}'[export sudoers file to specified JSON output file]:JSON output file:_files'