summaryrefslogtreecommitdiff
path: root/src/grp-journal/systemd-cat/systemd-cat.completion.zsh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-06 16:48:26 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-06 16:48:26 -0400
commit91dca19f3ad50c33217d186bda1261228f8c293b (patch)
treec7abc968ed533ca1857d6cec3eb39e5d175d87d7 /src/grp-journal/systemd-cat/systemd-cat.completion.zsh
parent6ecbde8f5a65b922809dd7c077ed8494ca4a7bc9 (diff)
./tools/notsd-move
Diffstat (limited to 'src/grp-journal/systemd-cat/systemd-cat.completion.zsh')
-rw-r--r--src/grp-journal/systemd-cat/systemd-cat.completion.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/grp-journal/systemd-cat/systemd-cat.completion.zsh b/src/grp-journal/systemd-cat/systemd-cat.completion.zsh
new file mode 100644
index 0000000000..7487b00ee8
--- /dev/null
+++ b/src/grp-journal/systemd-cat/systemd-cat.completion.zsh
@@ -0,0 +1,12 @@
+#compdef systemd-cat
+
+local curcontext="$curcontext" state lstate line
+_arguments \
+ {-h,--help}'[Show this help]' \
+ '--version[Show package version.]' \
+ {-t+,--identifier=}'[Set syslog identifier.]:syslog identifier:' \
+ {-p+,--priority=}'[Set priority value.]:value:({0..7})' \
+ '--level-prefix=[Control whether level prefix shall be parsed.]:boolean:(1 0)' \
+ ':Message'
+
+#vim: set ft=zsh sw=4 ts=4 et