summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_id
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_id')
-rw-r--r--Completion/Unix/Command/_id9
1 files changed, 8 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_id b/Completion/Unix/Command/_id
index 74fe6d9e1..a0a03faad 100644
--- a/Completion/Unix/Command/_id
+++ b/Completion/Unix/Command/_id
@@ -16,7 +16,7 @@ if _pick_variant gnu=GNU $OSTYPE --version; then
'(- :)--version[display version]' \
':user:_users'
else
- choices="-A -a -c -G -g -M -p -P -u"
+ choices="-A -a -c -G -g -M -p -P -R -u"
args=(
"($choices)-g[print only EGID]"
"($choices -r)-G[print all GIDs]"
@@ -31,6 +31,13 @@ else
'(-g -G -u -n -r)-p[show project membership]'
)
;;
+ openbsd*)
+ args+=(
+ '(-)-c[display the login class]'
+ '(-)-p[make the output human readable]'
+ '(-)-R[display the routing table of the current process]'
+ )
+ ;;
darwin*|dragonfly*|freebsd*)
args+=( '(-)-P[print id in the form of a password file entry]' )
;|