Skip to content

Commit b5bb327

Browse files
committed
refactor(help): use _comp_initialize
1 parent 3ae8462 commit b5bb327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/help

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
_comp_cmd_help()
44
{
5-
local cur prev words cword
6-
_init_completion || return
5+
local cur prev words cword comp_args
6+
_comp_initialize -- "$@" || return
77

88
if [[ $cur == -* ]]; then
99
COMPREPLY=($(compgen -W '$(_parse_usage "$1" "-s $1")' -- "$cur"))

0 commit comments

Comments
 (0)