From: Sumanth Korikkar Date: Thu, 16 Oct 2025 15:38:06 +0000 (+0200) Subject: lsmem,chmem: add configure/deconfigure bash completion options X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b9ec52f3b89ffe8f93e3b3699375a38c194023f;p=thirdparty%2Futil-linux.git lsmem,chmem: add configure/deconfigure bash completion options Add bash completion for configure/deconfigure options in chmem and lsmem. Signed-off-by: Sumanth Korikkar --- diff --git a/bash-completion/chmem b/bash-completion/chmem index 3e3af87ac..f10646677 100644 --- a/bash-completion/chmem +++ b/bash-completion/chmem @@ -14,6 +14,9 @@ _chmem_module() OPTS=" --enable --disable + --configure + --deconfigure + --memmap-on-memory --blocks --verbose --zone diff --git a/bash-completion/lsmem b/bash-completion/lsmem index 7d6e84247..185a15fd2 100644 --- a/bash-completion/lsmem +++ b/bash-completion/lsmem @@ -9,7 +9,7 @@ _lsmem_module() local prefix realcur OUTPUT_ALL OUTPUT realcur="${cur##*,}" prefix="${cur%$realcur}" - OUTPUT_ALL='RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES' + OUTPUT_ALL='RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES CONFIGURED MEMMAP-ON-MEMORY' for WORD in $OUTPUT_ALL; do if ! [[ $prefix == *"$WORD"* ]]; then OUTPUT="$WORD ${OUTPUT:-""}"