Skip to content

Commit 9891762

Browse files
committed
fix(dpkg): Add missing short option -R
Completion for '--raw-extract' is already supported, however the equivalent short option '-R' was missing. Now fixed. Cf. dpkg-deb help message: ``` dpkg-deb --help [...] -R|--raw-extract <deb> <directory> [...] ```
1 parent 0eef733 commit 9891762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/dpkg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ _comp_cmd_dpkg()
7272
done
7373
fi
7474

75-
local noargopts='!(-*|*[ciAIfexXbsplWSrVLPD]*)'
75+
local noargopts='!(-*|*[ciAIfexXRbsplWSrVLPD]*)'
7676
# shellcheck disable=SC2254
7777
case $prev in
7878
--install | --unpack | --record-avail | --contents | --info | --fsys-tarfile | \
79-
--field | --control | --extract | --vextract | --raw-extract | -${noargopts}[ciAIfexX])
79+
--field | --control | --extract | --vextract | --raw-extract | -${noargopts}[ciAIfexXR])
8080
_comp_compgen_filedir '?(u|d)deb'
8181
return
8282
;;

0 commit comments

Comments
 (0)