summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_uname
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_uname')
-rw-r--r--Completion/Unix/Command/_uname14
1 files changed, 10 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_uname b/Completion/Unix/Command/_uname
index 0e55ba1c3..c58f2edfd 100644
--- a/Completion/Unix/Command/_uname
+++ b/Completion/Unix/Command/_uname
@@ -62,13 +62,19 @@ else
'-v[print detailed operating system version]'
)
case $OSTYPE in
- freebsd*|dragonfly*) args+=( '-i[print kernel ident]' ) ;|
- freebsd<10->.*)
+ freebsd*|dragonfly*)
args+=(
- '-K[print FreeBSD kernel version]'
- '-U[print FreeBSD user environment version]'
+ '-i[print kernel ident]'
+ '-K[print kernel version]'
+ '-U[print user environment version]'
)
;|
+ dragonfly*)
+ args+=(
+ '-P[write ABI string for dports / pkgng, including odd-to-even version-munging]'
+ '-PP[write ABI string for dports / pkgng, without version-munging]'
+ )
+ ;;
freebsd<13->.*)
args+=( "-b[print kernel's linker-generated build-id]" )
;;