29 lines
801 B
Bash
29 lines
801 B
Bash
#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 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
|