summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2015-09-27 01:03:16 -0500
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-27 23:41:45 +0000
commit36abe20c0f53015b816d5f3bdd1eeed713614233 (patch)
tree67798161bf0930fac43d4bcefae171ece434f0b9 /Completion
parent7e4784f90105a21af3f5e0a52aa8d2465919e635 (diff)
downloadzsh-36abe20c0f53015b816d5f3bdd1eeed713614233.tar.gz
zsh-36abe20c0f53015b816d5f3bdd1eeed713614233.tar.xz
zsh-36abe20c0f53015b816d5f3bdd1eeed713614233.zip
36653: OpenBSD's usermod has no -a flag
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_user_admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_user_admin b/Completion/Unix/Command/_user_admin
index 31ccbf1c2..3653308a1 100644
--- a/Completion/Unix/Command/_user_admin
+++ b/Completion/Unix/Command/_user_admin
@@ -44,8 +44,8 @@ if [[ $service = user* ]]; then
 	"(-U -p)-L[lock user's password]"
 	"(-L -p)-U[unlock user's password]"
     )
+    [[ $OSTYPE = openbsd* ]] || args+=('-a[append groups]')
     args+=(
-      '-a[append groups]'
       '-l[specify new user name]:new username'
       ':username:_users'
     )