From c4d76587ae4a7cca36a97edb362e2b4f5febcc45 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 3 May 2026 01:20:02 +0200 Subject: [PATCH] Remove the 'this' from 'show this help and exit' in completers --- src/_bento4 | 6 +++--- src/_bitcoin-cli | 2 +- src/_chatblade | 2 +- src/_chcpu | 2 +- src/_chpasswd | 2 +- src/_coffee | 2 +- src/_cppcheck | 2 +- src/_direnv | 2 +- src/_do-release-upgrade | 2 +- src/_envdir | 2 +- src/_fail2ban-client | 2 +- src/_ghc | 2 +- src/_glances | 2 +- src/_hello | 2 +- src/_lilypond | 2 +- src/_lscpu | 2 +- src/_lsipc | 2 +- src/_lslocks | 2 +- src/_lslogins | 2 +- src/_lsmem | 2 +- src/_mussh | 2 +- src/_openvpn3 | 34 +++++++++++++++++----------------- src/_pre-commit | 2 +- src/_rails | 16 ++++++++-------- src/_rev | 2 +- src/_uuidgen | 2 +- src/_vipw | 2 +- src/_wdctl | 2 +- src/_zramctl | 2 +- 29 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/_bento4 b/src/_bento4 index 455aef5..822a9da 100644 --- a/src/_bento4 +++ b/src/_bento4 @@ -91,7 +91,7 @@ case $service in ;; (mp4dash) options+=( - '(- *)'{-h,--help}'[Show this help message and exit]' + '(- *)'{-h,--help}'[Show help message and exit]' '(-v --verbose)'{-v,--verbose}'[Be verbose]' '(-d --debug)'{-d,--debug}'[Print out debugging information]' '(-o --output-dir)'{-o,--output-dir=}'[Output directory]:dir:_files -/' @@ -148,7 +148,7 @@ case $service in ;; (mp4dashclone) options+=( - '(- *)'{-h,--help}'[Show this help message and exit]' + '(- *)'{-h,--help}'[Show help message and exit]' '--quiet[Be quiet]' '--encrypt=[Encrypt the media with KID and KEY specified in HEX(32 characters each)]:key' '--exec-dir=[Directory where the Bento4 executables are located]:dir:_files -/' @@ -226,7 +226,7 @@ case $service in ;; (mp4hls) options+=( - '(- *)'{-h,--help}'[Show this help message and exit]' + '(- *)'{-h,--help}'[Show help message and exit]' '(-v --verbose)'{-v,--verbose}'[Be verbose]' '(-d --debug)'{-d,--debug}'[Print out debugging information]' '(-o --output-dir)'{-o,--output-dir=}'[Output directory]:dir:_files -/' diff --git a/src/_bitcoin-cli b/src/_bitcoin-cli index 00096e6..edf4288 100644 --- a/src/_bitcoin-cli +++ b/src/_bitcoin-cli @@ -43,7 +43,7 @@ _bitcoin-cli() { local ret=1 _arguments -C \ - -?'[This help message]' \ + -?'[Show help message]' \ -addrinfo'[Get the number of addresses known to the node, per network and total]' \ -chain='[Use the chain (default: main). Allowed values: main, test, signet, regtest]:chain:(main test signet regtest)' \ -color='[Color setting for CLI output (default: auto)]:when:(always auto never)' \ diff --git a/src/_chatblade b/src/_chatblade index cf8995d..b25baca 100644 --- a/src/_chatblade +++ b/src/_chatblade @@ -19,7 +19,7 @@ _chatblade() { typeset -A opt_args args+=( - '(- *)'{-h,--help}'[show this help message and exit]' + '(- *)'{-h,--help}'[show help message and exit]' '(- *)--version[display the chatblade version]' '--openai-api-key[the OpenAI API key can also be set as env variable OPENAI_API_KEY]:key' '--openai-base-url[a custom URL to use the openAI against a local or custom model]:key' diff --git a/src/_chcpu b/src/_chcpu index a174936..73a5993 100644 --- a/src/_chcpu +++ b/src/_chcpu @@ -35,7 +35,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-c --configure)'{-c,--configure}'[configure the specified CPUs]:cpu list (0,5,7,9-11)' \ '(-d --disable)'{-d,--disable}'[disable the specified CPUs]:cpu list (0,5,7,9-11)' \ diff --git a/src/_chpasswd b/src/_chpasswd index 197195b..b7eecec 100644 --- a/src/_chpasswd +++ b/src/_chpasswd @@ -35,7 +35,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(-c --crypt-method)'{-c,--crypt-method}'[use the specified method to encrypt the passwords]:method:(DES MD5 SHA256 SHA512 YESCRYPT NONE)' \ '(-e --encrypted)'{-e,--encrypted}'[supplied passwords are in encrypted form]' \ '(-m --md5)'{-m,--md5}'[use MD5 encryption instead of DES]' \ diff --git a/src/_coffee b/src/_coffee index ebe36e6..3651e38 100644 --- a/src/_coffee +++ b/src/_coffee @@ -47,7 +47,7 @@ _arguments -s -S \ '(-b --bare)'{-b,--bare}'[compile without a top-level function wrapper]' \ '(-c --compile)'{-c,--compile}'[compile to JavaScript and save as .js files]' \ '(-e --eval)'{-e,--eval}'[pass a string from the command line as input]:Inline Script' \ - '(- *)'{-h,--help}'[display this help message]' \ + '(- *)'{-h,--help}'[display help message]' \ '(-i --interactive)'{-i,--interactive}'[run an interactive CoffeeScript REPL]' \ '(-j --join)'{-j,--join}'[concatenate the source CoffeeScript before compiling]: :_files -g "*.coffee"' \ '(-l --literate)'{-l,--literate}'[treat stdio as literate style coffeescript]' \ diff --git a/src/_cppcheck b/src/_cppcheck index 6111156..652eccf 100644 --- a/src/_cppcheck +++ b/src/_cppcheck @@ -78,7 +78,7 @@ _cppcheck() { "(-f --force)"{-f,--force}"[Force checking of all configurations in files]" \ "(--fsigned-char --funsigned-char)--fsigned-char[Treat char type as signed]" \ "(--fsigned-char --funsigned-char)--funsigned-char[Treat char type as unsigned]" \ - "(- 1 *)"{-h,--help}"[Print this help]" \ + "(- 1 *)"{-h,--help}"[Print help]" \ "-I[A file that contains a list of config-excludes]:directory:_files -/" \ "--include-file=[Specify directory paths to search for included header files in a text file]:file:_files" \ "--include=[Force inclusion of a file before the checked file]:file:_files" \ diff --git a/src/_direnv b/src/_direnv index be97edd..602f7dc 100644 --- a/src/_direnv +++ b/src/_direnv @@ -49,7 +49,7 @@ _direnv_commands() { 'exec:Executes a command after loading the first .envrc or .env found in DIR' 'export:Loads an .envrc or .env and prints the diff in terms of exports' "fetchurl:Fetches a given URL into direnv's CAS" - 'help:shows this help' + 'help:shows help' 'hook:Used to setup the shell hook' 'prune:removes old allowed files' 'reload:triggers an env reload' diff --git a/src/_do-release-upgrade b/src/_do-release-upgrade index f9969ac..3632802 100644 --- a/src/_do-release-upgrade +++ b/src/_do-release-upgrade @@ -35,7 +35,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)'{-h,--help}'[Show this help message and exit]' \ + '(- *)'{-h,--help}'[Show help message and exit]' \ '(- *)'{-v,--version}'[Show version and exit]' \ '(-d --devel-release)'{-d,--devel-release}'[Upgrade to the development release]' \ '--data-dir=[Directory that contains the data files]:dir:_files -/' \ diff --git a/src/_envdir b/src/_envdir index e452401..6a92098 100644 --- a/src/_envdir +++ b/src/_envdir @@ -40,7 +40,7 @@ # ------------------------------------------------------------------------------ local -a args=( - '(-h --help)'{-h+,--help}'[show this help message and exit]' + '(-h --help)'{-h+,--help}'[show help message and exit]' '(-)'--version'[display version information and exit]' '(-)1:directory: _path_files -/' '(-)2:command: _command_names -e' diff --git a/src/_fail2ban-client b/src/_fail2ban-client index 69540a6..6a79e90 100644 --- a/src/_fail2ban-client +++ b/src/_fail2ban-client @@ -54,7 +54,7 @@ _fail2ban_client() { '-b[start server in background]' \ '-f[start server in foreground]' \ '--str2sec[convert time abbreviation format to seconds]:_message str2sec' \ - '(-h --help)'{-h,--help}'[display this help message]' \ + '(-h --help)'{-h,--help}'[display help message]' \ '(-V --version)'{-V,--version}'[print the version]' \ '1:fail2ban command:_fail2ban_client_commands' \ '*:fail2ban command argument:_fail2ban_client_command_arguments' diff --git a/src/_ghc b/src/_ghc index 301b11a..2741859 100644 --- a/src/_ghc +++ b/src/_ghc @@ -922,7 +922,7 @@ _ghc_pkg() { '--expand-env-vars[expand environment variables in input package descriptions]' '(--expand-pkgroot --no-expand-pkgroot)--expand-pkgroot[expand pkgroot-relative paths in output package descriptions]' '(--expand-pkgroot --no-expand-pkgroot)--no-expand-pkgroot[preserve pkgroot-relative paths in output package descriptions]' - '(- *)'{-?,--help}'[display this help and exit]' + '(- *)'{-?,--help}'[display help and exit]' '(- *)'{-V,--version}'[output version information and exit]' '--simple-output[print output in easy-to-parse format for some commands]' '--show-unit-ids[print unit-ids instead of package identifiers]' diff --git a/src/_glances b/src/_glances index a3ca8bd..982d536 100644 --- a/src/_glances +++ b/src/_glances @@ -41,7 +41,7 @@ _glances() { _arguments \ - '(- *)'{-h,--help}'[show this help message and exit]' \ + '(- *)'{-h,--help}'[show help message and exit]' \ '--print-completion[print shell completion script]:shell:(bash zsh tcsh)' \ '(- *)'{-V,--version}"[show program's version number and exit]" \ '(-d --debug)'{-d,--debug}'[enable debug mode]' \ diff --git a/src/_hello b/src/_hello index d828eb7..4810db5 100644 --- a/src/_hello +++ b/src/_hello @@ -14,7 +14,7 @@ # ------------------------------------------------------------------------------ _arguments -s \ - '(- *)'{-h,--help}'[display this help and exit]' \ + '(- *)'{-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' diff --git a/src/_lilypond b/src/_lilypond index 920f075..1e2f15d 100644 --- a/src/_lilypond +++ b/src/_lilypond @@ -90,7 +90,7 @@ case $state in 'gs-load-lily-fonts[load only LilyPond fonts via Ghostscript]:gs-load-lily-fonts:(\#t \#f)' \ 'gs-never-embed-fonts[make Ghostscript embed only TrueType fonts and no other font format]:gs-never-embed-fonts:(\#t \#f)' \ 'gui[run LilyPond from a GUI and redirect stderr to a log file]:gui:(\#t \#f)' \ - 'help[show this help]:help:(\#t \#f)' \ + 'help[show help]:help:(\#t \#f)' \ 'include-book-title-preview[include book titles in preview images]:include-book-title-preview:(\#t \#f)' \ 'include-eps-fonts[include fonts in separate-system EPS files]:include-eps-fonts:(\#t \#f)' \ 'include-settings[included file before the score is processed]:include-settings:_files -g "*.(#i)ly(-.)"' \ diff --git a/src/_lscpu b/src/_lscpu index 9297a5c..9b7adee 100644 --- a/src/_lscpu +++ b/src/_lscpu @@ -80,7 +80,7 @@ _lscpu_cache() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-a --all)'{-a,--all}'[print both online and offline CPUs(default for -e)]' \ '(-b --online)'{-b,--online}'[print online CPUs only]' \ diff --git a/src/_lsipc b/src/_lsipc index 1bacabc..7a83cf6 100644 --- a/src/_lsipc +++ b/src/_lsipc @@ -91,7 +91,7 @@ _lsipc_output_columns() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-m --shmems)'{-m,--shmems}'[shared memory segments]' \ '(-M --posix-shmems)'{-M,--posix-shmems}'[POSIX shared memory segments]' \ diff --git a/src/_lslocks b/src/_lslocks index cec8c43..d360039 100644 --- a/src/_lslocks +++ b/src/_lslocks @@ -56,7 +56,7 @@ _lslocks_output_columns() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-b --bytes)'{-b,--bytes}'[print SIZE in bytes rather]' \ '(-J --json)'{-J,--json}'[use the JSON output format]' \ diff --git a/src/_lslogins b/src/_lslogins index 433db8d..88105c8 100644 --- a/src/_lslogins +++ b/src/_lslogins @@ -70,7 +70,7 @@ _lslogins_output_columns() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-a --acc-expiration)'{-a,--acc-expiration}'[display info about passwords expiration]' \ '(-c --colon-separate)'{-c,--colon-separate}'[display data in a format similar to /etc/passwd]' \ diff --git a/src/_lsmem b/src/_lsmem index d5bcf01..28a0427 100644 --- a/src/_lsmem +++ b/src/_lsmem @@ -50,7 +50,7 @@ _lsmem_output_columns() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-J --json)'{-J,--json}'[use the JSON output format]' \ '(-P --pairs)'{-P,--pairs}'[use key=value output format]' \ diff --git a/src/_mussh b/src/_mussh index 2fe47b1..dd91410 100644 --- a/src/_mussh +++ b/src/_mussh @@ -39,7 +39,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)--help[display this help message]' \ + '(- *)--help[display help message]' \ '-d-[Verbose debug]:level:(0 1 2)' \ '-v-[SSH debug levels]:level:(0 1 2 3)' \ '-m-[Run concurrently on the specified hosts at a time. "0" is used for infinite]:count' \ diff --git a/src/_openvpn3 b/src/_openvpn3 index 8c1ec9a..034cbda 100644 --- a/src/_openvpn3 +++ b/src/_openvpn3 @@ -53,7 +53,7 @@ _openvpn3_config-acl() { _arguments \ {-s,--show}"[Show the current access control lists]" \ {-o,--path}"[OBJ-PATH Path to the configuration in the configuration manager]: :($configs_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($configs_names)" \ {-S,--seal}"[Make the configuration profile permanently read-only]" \ {-R,--revoke}"[ Revoke this user access from this configuration profile]" \ @@ -67,7 +67,7 @@ _openvpn3_config-import() { _arguments \ {-p,--persistent}"[Make the configuration profile persistent through service restarts]" \ {-n,--name}"[NAME Provide a different name for the configuration (default: CFG-FILE)]" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CFG-FILE Configuration file to import]: :_files" } @@ -76,7 +76,7 @@ _openvpn3_config-manage() { {-s,--show}"[Show current configuration options]" \ {-r,--rename}"[NEW-CONFIG-NAME Renames the configuration]" \ {-o,--path}"[CONFIG-PATH Path to the configuration in the configuration manager]: :($configs_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($configs_names)" \ "--unset-override[ Removes the override]" \ "--tls-version-min[ Sets the minimal TLS version for the control channel]: :(tls_1_0 tls_1_1 tls_1_2 tls_1_3)" \ @@ -103,7 +103,7 @@ _openvpn3_config-manage() { _openvpn3_config-remove() { _arguments \ {-o,--path}"[OBJ-PATH Path to the configuration in the configuration manager]: :($configs_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($configs_names)" \ "--force[Force the deletion process without asking for confirmation]" \ "--config-path[OBJ-PATH Alias for --path]: :($configs_paths)" @@ -113,24 +113,24 @@ _openvpn3_config-show() { _arguments \ {-o,--path}"[OBJ-PATH Path to the configuration in the configuration manager]: :($configs_paths)" \ {-j,--json}"[Dump the configuration in JSON format]" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($configs_names)" \ "--config-path[OBJ-PATH Alias for --path]: :($configs_paths)" } _openvpn3_configs-list() { _arguments \ - {-h,--help}"[This help screen]" + {-h,--help}"[Show help screen]" } _openvpn3_help() { _arguments \ - {-h,--help}"[This help screen]" + {-h,--help}"[Show help screen]" } _openvpn3_log() { _arguments \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --session-path, where configuration profile name is used instead]: :($sessions_configs_names $configs_names)" \ {-I,--interface}"[INTERFACE Alternative to --session-path, where tun interface name is used instead]: :($sessions_interfaces)" \ "--session-path[SESSION-PATH Receive log events for a specific session]: :($sessions_paths)" \ @@ -142,7 +142,7 @@ _openvpn3_session-acl() { _arguments \ {-s,--show}"[Show the current access control lists]" \ {-o,--path}"[SESSION-PATH Path to the session in the session manager]: :($sessions_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($sessions_configs_names)" \ {-R,--revoke}"[ Revoke this user access from this session]" \ {-I,--interface}"[INTERFACE Alternative to --path, where tun interface name is used instead]: :($sessions_interfaces)" \ @@ -155,7 +155,7 @@ _openvpn3_session-acl() { _openvpn3_session-manage() { _arguments \ {-o,--path}"[SESSION-PATH Path to the session in the session manager]: :($sessions_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($sessions_configs_names)" \ {-R,--resume}"[Resumes a paused VPN session]" \ {-P,--pause}"[Pauses the VPN session]" \ @@ -169,7 +169,7 @@ _openvpn3_session-manage() { _openvpn3_session-start() { _arguments \ {-p,--config-path}"[CONFIG-PATH Configuration path to an already imported configuration]: :($configs_paths)" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-FILE Configuration file to start directly]: :_files" \ "--persist-tun[Enforces persistent tun/seamless tunnel (requires --config)]" } @@ -178,7 +178,7 @@ _openvpn3_session-stats() { _arguments \ {-o,--path}"[SESSION-PATH Path to the configuration in the configuration manager]: :($sessions_paths)" \ {-j,--json}"[Dump the configuration in JSON format]" \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ {-c,--config}"[CONFIG-NAME Alternative to --path, where configuration profile name is used instead]: :($sessions_configs_names)" \ {-I,--interface}"[INTERFACE Alternative to --path, where tun interface name is used instead]: :($sessions_interfaces)" \ "--session-path[SESSION-PATH Alias for --path]: :($sessions_paths)" @@ -186,12 +186,12 @@ _openvpn3_session-stats() { _openvpn3_sessions-list() { _arguments \ - {-h,--help}"[This help screen]" + {-h,--help}"[Show help screen]" } _openvpn3_shell-completion() { _arguments \ - {-h,--help}"[This help screen]" \ + {-h,--help}"[Show help screen]" \ "--list-commands[List all available commands]" \ "--list-options[COMMAND List all available options for a specific command]: :($(openvpn3 shell-completion --list-commands))" \ "--arg-helper[OPTION Used together with --list-options, lists value hint to an option]" @@ -199,7 +199,7 @@ _openvpn3_shell-completion() { _openvpn3_version() { _arguments \ - {-h,--help}"[This help screen]" + {-h,--help}"[Show help screen]" } _openvpn3_command() { @@ -210,7 +210,7 @@ _openvpn3_command() { "config-remove: Remove an available configuration profile" "config-show: Show/dump a configuration profile" "configs-list: List all available configuration profiles" - "help: This help screen" + "help: Show help screen" "log: Receive log events as they occur" "session-acl: Manage access control lists for sessions" "session-manage: Manage VPN sessions" @@ -239,7 +239,7 @@ _openvpn3_command() { } _arguments \ - {-h,--help}"[that This help screen]" \ + {-h,--help}"[Show help screen]" \ "*::openvpn3 commands:_openvpn3_command" \ # Local Variables: diff --git a/src/_pre-commit b/src/_pre-commit index a55fd6b..2f261a7 100644 --- a/src/_pre-commit +++ b/src/_pre-commit @@ -29,7 +29,7 @@ _pre_commit() { case "$state" in (args) local -a options=( - '(- : *)'{-h,--help}'[show this help message and exit]' + '(- : *)'{-h,--help}'[show help message and exit]' "--color[Whether to use color in output(default: auto)]:color:(auto always never)" ) local -a hook_types=( diff --git a/src/_rails b/src/_rails index 2b3b43c..2c162df 100644 --- a/src/_rails +++ b/src/_rails @@ -45,7 +45,7 @@ _rails() { local -a runtime_options rails_options runtime_options=( - '(- *)'{-h,--help}'[Show this help message and quit]' + '(- *)'{-h,--help}'[Show help message and quit]' '(- *)'{-v,--version}'[Show Rails version and quit]' ) @@ -74,14 +74,14 @@ _rails() { ;; (console|c) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '(-e --environment)'{-e,--environment=}'[The environment to run "console" in]:env:(test development production)' \ '(-s --sandbox)'{-s,--sandbox}'[Rollback database modifications on exit]' \ && ret=0 ;; (server|s) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '(-e --environment)'{-e,--environment=}'[The environment to run "server" in]:env:(test development production)' \ '(-p --port)'{-p,--port}'[Run Rails on the specified port]:port' \ '(-b --binding)'{-b,--binding=}'[Bind Rails to the specified IP]:binding' \ @@ -98,7 +98,7 @@ _rails() { ;; (dbconsole|db) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '(-e --environment)'{-e,--environment=}'[The environment to run "server" in]:env:(test development production)' \ '(-p --include-password)'{-p,--include-password}'[Automatically provide the password from database.yml]' \ '--mode=[Automatically put the sqlite3 database in the specified mode]:mode:(html list line column)' \ @@ -109,7 +109,7 @@ _rails() { ;; (test|t|test:system) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '--no-plugins[Bypass minitest plugin auto-loading]' \ '(-s --seed)'{-s,--seed=}'[Sets random seed]:seed' \ '(-v --verbose -q --quiet)'{-v,--verbose}'[Show progress processing files]' \ @@ -133,7 +133,7 @@ _rails() { ;; (runner|r) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '(-e --environment)'{-e,--environment=}'[The environment to run "runner"]:env:(test development production)' \ '(-w --skip-executor)'{-w,--skip-executor}'[Do not wrap with Rails Executor]' \ '*:: :_files -g "*.rb"' \ @@ -147,7 +147,7 @@ _rails() { ;; (routes) _arguments \ - '(- *)'{-h,--help}'[Show this help message and quit]' \ + '(- *)'{-h,--help}'[Show help message and quit]' \ '(-c --controller)'{-c,--controller=}'[Filter by a specific controller]:controller' \ '(-g --grep)'{-g,--grep}'[Grep routes by a specific pattern]' \ '(-E --expanded)'{-E,--expanded}'[Print routes expanded vertically with parts explained]' \ @@ -353,7 +353,7 @@ _rails_generate() { (generate) local -a opts opts=( - '(- *)'{-h,--help}'[Show this help message and quit]' + '(- *)'{-h,--help}'[Show help message and quit]' $runtime_options '--skip-namespace[Skip namespace]' '--skip-collision-check[Skip collision check]' diff --git a/src/_rev b/src/_rev index f109113..21f1e2a 100644 --- a/src/_rev +++ b/src/_rev @@ -35,7 +35,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-0 --zero)'{-0,--zero}'[use the nul character as line separator]' diff --git a/src/_uuidgen b/src/_uuidgen index 26283d5..1a35a9f 100644 --- a/src/_uuidgen +++ b/src/_uuidgen @@ -61,7 +61,7 @@ case $OSTYPE in ;; (*) _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-r --random)'{-r,--random}'[generate random-based uuid]' \ '(-t --time)'{-t,--time}'[generate time-based uuid]' \ diff --git a/src/_vipw b/src/_vipw index 6ec8995..a2c8be3 100644 --- a/src/_vipw +++ b/src/_vipw @@ -35,7 +35,7 @@ # ------------------------------------------------------------------------------ _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(-g --group -p --passwd)'{-g,--group}'[edit group database]' \ '(-g --group -p --passwd)'{-p,--passwd}'[edit passwd database]' \ '(-q --quiet)'{-q,--quiet}'[quiet mode]' \ diff --git a/src/_wdctl b/src/_wdctl index 4e945f9..bb7bb13 100644 --- a/src/_wdctl +++ b/src/_wdctl @@ -48,7 +48,7 @@ _wdctl_output_columns() { } _arguments -s \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-f --flags)'{-f,--flags}'[print selected flags only]:flags' \ '(-F --noflags)'{-F,--noflags}'[do not print information about flags]' \ diff --git a/src/_zramctl b/src/_zramctl index 333d67e..dc9a5a8 100644 --- a/src/_zramctl +++ b/src/_zramctl @@ -56,7 +56,7 @@ _zramctl_output_columns() { } _arguments \ - '(- *)'{-h,--help}'[display this help]' \ + '(- *)'{-h,--help}'[display help]' \ '(- *)'{-V,--version}'[display version]' \ '(-a --algorithm)'{-a,--algorithm}'[compression algorithm to use]:algorithm:(lzo lz4 lz4hc deflate 842 zstd)' \ '(-b --bytes)'{-b,--bytes}'[print sizes in bytes rather than in human readable format]:bytes' \