File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ _comp_cmd_jps()
1212 esac
1313
1414 if [[ $cur == -* ]]; then
15- # Not using _parse_usage because output has [-help] which does not
16- # mean -h, -e, -l, -p...
15+ # Not using _comp_compgen_usage because output has [-help] which does
16+ # not mean -h, -e, -l, -p...
1717 _comp_compgen -- -W " -q -m -l -v -V -J -help"
1818 [[ ${COMPREPLY-} == -J* ]] && compopt -o nospace
1919 else
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ _comp_cmd_ps()
5656 esac
5757
5858 if [[ $cur == -* ]]; then
59- # sed: strip single char dashless ", x," that trip _parse_help
59+ # sed: strip single char dashless ", x," that trip _comp_compgen_help
6060 _comp_compgen_help - <<< " $({
6161 " $1 " --help
6262 " $1 " --help all
Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ _comp_cmd_puppet()
147147 ;;
148148 * )
149149 _comp_cmd_puppet__subcmd_opts " $1 " " $subcommand "
150- # _parse_usage doesn't grok [-D|--daemonize|--no-daemonize]
150+ # _comp_compgen_usage doesn't grok
151+ # [-D|--daemonize|--no-daemonize]
151152 _comp_compgen -a -- -W ' --no-daemonize'
152153 return
153154 ;;
@@ -298,7 +299,8 @@ _comp_cmd_puppet()
298299 ;;
299300 * )
300301 _comp_cmd_puppet__subcmd_opts " $1 " " $subcommand "
301- # _parse_usage doesn't grok [-D|--daemonize|--no-daemonize]
302+ # _comp_compgen_usage doesn't grok
303+ # [-D|--daemonize|--no-daemonize]
302304 _comp_compgen -a -- -W ' --no-daemonize'
303305 return
304306 ;;
Original file line number Diff line number Diff line change 1919# -------------------------
2020#
2121# For GNU tar, everything is parsed from `tar --help` output so not so much
22- # per-distribution work should be needed. The _parse_help does not seem to be
23- # good enough so parsed here directly.
22+ # per-distribution work should be needed. The _comp_compgen_help does not seem
23+ # to be good enough so parsed here directly.
2424#
2525#
2626# FIXME: --starting-file (-K) (should be matched for extraction only)
You can’t perform that action at this time.
0 commit comments