Skip to content

Commit 683a476

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/_udevadm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ _comp_cmd_udevadm()
6969

7070
if [[ $cur == -* ]]; then
7171
COMPREPLY=($(compgen -W \
72-
'$("$1" ${udevcmd-} --help 2>/dev/null | _parse_help -)' -- "$cur"))
72+
'$(_parse_help "$1" "${udevcmd-} --help")' -- "$cur"))
7373
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
7474
fi
7575
} &&

0 commit comments

Comments
 (0)