summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_uptime
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
commitf3b865b9155269ba0dee7ced93b061e78df507c1 (patch)
tree7ff3e71038dfd5ab7c9e88a82980fd4d85637563 /Completion/Unix/Command/_uptime
parent87aba4d437f5fef46917c1235c00b9162d7bcbd0 (diff)
downloadzsh-f3b865b9155269ba0dee7ced93b061e78df507c1.tar.gz
zsh-f3b865b9155269ba0dee7ced93b061e78df507c1.zip
53326: completion updates for core Linux utils
Diffstat (limited to 'Completion/Unix/Command/_uptime')
-rw-r--r--Completion/Unix/Command/_uptime7
1 files changed, 4 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_uptime b/Completion/Unix/Command/_uptime
index 58b4d991b..64d2e15fe 100644
--- a/Completion/Unix/Command/_uptime
+++ b/Completion/Unix/Command/_uptime
@@ -9,9 +9,10 @@ case $variant in
_arguments -s -S : \
'(: -)'{-h,--help}'[display help information]' \
'(: -)'{-V,--version}'[display version information]' \
- + '(excl)' \
- {-p,--pretty}'[display uptime in pretty format]' \
- {-s,--since}'[display date/time of system boot]'
+ '(-c --container)'{-c,--container}'[show container uptime]' \
+ '(-p --pretty -s --since -r --raw)'{-p,--pretty}'[display uptime in pretty format]' \
+ '(-r --raw -p --pretty)'{-r,--raw}'[uptime values in raw format]' \
+ '(-s --since -p --pretty)'{-s,--since}'[display date/time of system boot]'
return
;;
gnu)