Skip to content

Commit ae6da15

Browse files
committed
refactor(lspci,reportbug): remove + in COMPREPLY+=(...)
1 parent f3ae706 commit ae6da15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

completions/lspci

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ _comp_cmd_lspci()
1818
return
1919
;;
2020
-*A)
21-
COMPREPLY+=($(compgen -W '$("$1" -A help | command grep -vF :)' \
21+
COMPREPLY=($(compgen -W '$("$1" -A help | command grep -vF :)' \
2222
-- "$cur"))
2323
return
2424
;;
2525
-*H)
26-
_comp_compgen -a -- -W "1 2"
26+
_comp_compgen -- -W "1 2"
2727
return
2828
;;
2929
-*F)

completions/reportbug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ _comp_cmd_reportbug()
3030
return
3131
;;
3232
--tag | --ui | --interface | --type | --bts | --severity | --mode | -${noargopts}[TutBS])
33-
COMPREPLY+=($(
33+
COMPREPLY=($(
3434
compgen -W \
3535
'$("$1" "$prev" help 2>&1 | sed -ne "/^[[:space:]]/p")' \
3636
-- "$cur"

0 commit comments

Comments
 (0)