aboutsummaryrefslogtreecommitdiffstats
path: root/src/_hello
diff options
context:
space:
mode:
authorFreed-Wu <wuzy01@qq.com>2022-04-01 11:28:41 +0800
committerFreed-Wu <wuzy01@qq.com>2022-04-01 11:28:41 +0800
commit4371e1a831cf57d8475fdbc5fc1848cc3ba66257 (patch)
treeebcb341a14478b5cb75997fd7e40554f99baaa3c /src/_hello
parentMerge pull request #854 from sh-cho/patch-1 (diff)
downloadzsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar.gz
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar.bz2
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar.lz
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar.xz
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.tar.zst
zsh-completions-4371e1a831cf57d8475fdbc5fc1848cc3ba66257.zip
Add completion for hello
Diffstat (limited to 'src/_hello')
-rw-r--r--src/_hello19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/_hello b/src/_hello
new file mode 100644
index 0000000..e8dafdf
--- /dev/null
+++ b/src/_hello
@@ -0,0 +1,19 @@
+#compdef hello
+# ------------------------------------------------------------------------------
+# Description
+# -----------
+#
+# Completion script for GNU hello (https://www.gnu.org/software/hello/).
+#
+# ------------------------------------------------------------------------------
+# Authors
+# -------
+#
+# * Wu Zhenyu <wuzy01@qq.com>
+#
+# ------------------------------------------------------------------------------
+
+_arguments -s '(- *)'{-h,--help}'[display this help and exit]' \
+ '(- *)'{-v,--version}'[display version information and exit]' \
+ {-t,--traditional}'[use traditional greeting]' \
+ {-g,--greeting=}'[use TEXT as the greeting message]:TEXT'