diff options
author | Matthew Martin <phy1729@gmail.com> | 2015-09-27 01:03:16 -0500 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-27 23:41:45 +0000 |
commit | 36abe20c0f53015b816d5f3bdd1eeed713614233 (patch) | |
tree | 67798161bf0930fac43d4bcefae171ece434f0b9 | |
parent | 7e4784f90105a21af3f5e0a52aa8d2465919e635 (diff) | |
download | zsh-36abe20c0f53015b816d5f3bdd1eeed713614233.tar.gz zsh-36abe20c0f53015b816d5f3bdd1eeed713614233.tar.xz zsh-36abe20c0f53015b816d5f3bdd1eeed713614233.zip |
36653: OpenBSD's usermod has no -a flag
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_user_admin | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 3562b1379..b1fe74da4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-09-27 Matthew Martin <phy1729@gmail.com> + + * 36653: Completion/Unix/Command/_user_admin: OpenBSD's usermod + has no -a flag + 2015-09-27 Barton E. Schaefer <schaefer@zsh.org> * 36663: Src/mkmakemod.sh, Src/zsh.mdd: replace obsolete 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' ) |