bash-completion: sync lscpu completion with code
Remove unexistent option, add two not listed in completion. Signed-off-by: Boris Egorov <egorov@linux.com>
This commit is contained in:
parent
b5b80e5a6d
commit
bcce334df8
|
@ -12,7 +12,7 @@ _lscpu_module()
|
||||||
prefix="${cur%$realcur}"
|
prefix="${cur%$realcur}"
|
||||||
OPTS_ALL="CPU CORE SOCKET NODE
|
OPTS_ALL="CPU CORE SOCKET NODE
|
||||||
BOOK CACHE POLARIZATION ADDRESS
|
BOOK CACHE POLARIZATION ADDRESS
|
||||||
CONFIGURED ONLINE MMHZ"
|
CONFIGURED ONLINE MAXMHZ MINMHZ"
|
||||||
for WORD in $OPTS_ALL; do
|
for WORD in $OPTS_ALL; do
|
||||||
if ! [[ $prefix == *"$WORD"* ]]; then
|
if ! [[ $prefix == *"$WORD"* ]]; then
|
||||||
OPTS="$WORD $OPTS"
|
OPTS="$WORD $OPTS"
|
||||||
|
|
Loading…
Reference in New Issue