[PATCH v2 6/6] lsmem,chmem: add configure/deconfigure bash completion options
Sumanth Korikkar <[email protected]> Thu, 16 Oct 2025 17:38:06 +0200
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
Add bash completion for configure/deconfigure options in chmem and lsmem. Signed-off-by: Sumanth Korikkar <[email protected]> --- bash-completion/chmem | 3 +++ bash-completion/lsmem | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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:-""}" -- 2.41.0