diff options
| author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2025-10-16 17:38:06 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-11-07 10:25:59 +0100 |
| commit | 3b9ec52f3b89ffe8f93e3b3699375a38c194023f (patch) | |
| tree | baf97a45140585f139f136c4f074d200b7b0af9a | |
| parent | 6f1e4ff0545d5ee3a3b4a8358fd28e49721861fa (diff) | |
| download | util-linux-3b9ec52f3b89ffe8f93e3b3699375a38c194023f.tar.gz | |
lsmem,chmem: add configure/deconfigure bash completion options
Add bash completion for configure/deconfigure options in chmem and lsmem.
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
| -rw-r--r-- | bash-completion/chmem | 3 | ||||
| -rw-r--r-- | bash-completion/lsmem | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bash-completion/chmem b/bash-completion/chmem index 3e3af87aca..f10646677e 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 7d6e842478..185a15fd2f 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:-""}" |
