aboutsummaryrefslogtreecommitdiffstats
path: root/src/_hello
blob: d828eb7fc5fa731d1ad562a4b1d5cca8f1b6bf56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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'

# Local Variables:
# mode: Shell-Script
# sh-indentation: 2
# indent-tabs-mode: nil
# sh-basic-offset: 2
# End:
# vim: ft=zsh sw=2 ts=2 et