Skip to content

Commit 03eb948

Browse files
scopakinomyoga
andcommitted
refactor(help): remove redundant option --help on callers
Co-authored-by: Koichi Murase <[email protected]>
1 parent 14ea18a commit 03eb948

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

completions/a2x

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _comp_cmd_a2x()
2929
[[ $was_split ]] && return
3030

3131
if [[ $cur == -* ]]; then
32-
_comp_compgen_help -- --help
32+
_comp_compgen_help
3333
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
3434
return
3535
fi

completions/feh

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ _comp_cmd_feh()
106106

107107
if [[ $cur == -* ]]; then
108108
# Some versions of feh just output "See 'man feh'" for --help :(
109-
_comp_compgen_help -- --help
109+
_comp_compgen_help
110110
if [[ ${COMPREPLY-} ]]; then
111111
[[ $COMPREPLY == *= ]] && compopt -o nospace
112112
return

completions/htop

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ _comp_cmd_htop()
2525
[[ $was_split ]] && return
2626

2727
if [[ $cur == -* ]]; then
28-
_comp_compgen_help -- --help
28+
_comp_compgen_help
2929
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
3030
return
3131
fi

completions/kcov

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ _comp_cmd_kcov()
5151
[[ $was_split ]] && return
5252

5353
if [[ $cur == -* ]]; then
54-
_comp_compgen_help -- --help
54+
_comp_compgen_help
5555
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
5656
return
5757
fi

completions/slapt-get

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _comp_cmd_slapt_get()
1717
esac
1818

1919
if [[ $cur == -* ]]; then
20-
_comp_compgen_help -- --help
20+
_comp_compgen_help
2121
if [[ ${COMPREPLY-} ]]; then
2222
[[ $COMPREPLY == *= ]] && compopt -o nospace
2323
return

completions/slapt-src

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _comp_cmd_slapt_src()
1919
[[ $was_split ]] && return
2020

2121
if [[ $cur == -* ]]; then
22-
_comp_compgen_help -- --help
22+
_comp_compgen_help
2323
if [[ ${COMPREPLY-} ]]; then
2424
[[ $COMPREPLY == *= ]] && compopt -o nospace
2525
return

0 commit comments

Comments
 (0)