Skip to content

Commit c609196

Browse files
committed
fix(postfix): use param $2 of _parse_help
1 parent 683a476 commit c609196

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

completions/postfix

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ _comp_cmd_postfix()
1717
esac
1818

1919
if [[ $cur == -* ]]; then
20-
COMPREPLY=($(
21-
compgen -W \
22-
'$(_bashcomp_try_faketty "$1" --help 2>&1 | _parse_usage -)' \
23-
-- "$cur"
24-
))
20+
COMPREPLY=($(compgen -W \
21+
'$(_parse_usage _bashcomp_try_faketty "$1 --help")' -- "$cur"))
2522
return
2623
fi
2724

0 commit comments

Comments
 (0)