Merge branch 'lsblk-E-completion' of https://github.com/scop/util-linux

* 'lsblk-E-completion' of https://github.com/scop/util-linux:
  bash-completion: (lsblk) fix -E/-M arg (non-)completion
This commit is contained in:
Karel Zak 2021-04-19 09:33:28 +02:00
commit a7ca670346
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ _lsblk_module()
COMPREPLY=( $(compgen -P "$prefix" -W "${MAJOR:-""}" -S ',' -- $realcur) )
return 0
;;
'-o'|'--output'|'-M'|'--dedup')
'-o'|'--output'|'-E'|'--dedup')
local prefix realcur LSBLK_COLS
realcur="${cur##*,}"
prefix="${cur%$realcur}"