diff options
| author | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-10 16:48:39 -0400 |
|---|---|---|
| committer | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-10 17:20:33 -0400 |
| commit | 7873a9366d7ef2e9f890a0b9f33de7307736cb06 (patch) | |
| tree | 299f6a783bb3f4eb3ae5634cc6a3798c94123e18 /bash-completion | |
| parent | 144d0dc1880b15b3d4ed8fce84820d2be1ed5abf (diff) | |
| download | util-linux-7873a9366d7ef2e9f890a0b9f33de7307736cb06.tar.gz | |
bash-completion: dmesg: remove redundant completion for --buffer-size
The option --buffer-size already infers that its the optional argument
is a size value. In addition to that, when the option is completed the
user will have to delete the word 'size' from the command line and type
the desired value, which is not an ideal user experience.
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Diffstat (limited to 'bash-completion')
| -rw-r--r-- | bash-completion/dmesg | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bash-completion/dmesg b/bash-completion/dmesg index 4754a12f40..82b81849e6 100644 --- a/bash-completion/dmesg +++ b/bash-completion/dmesg @@ -20,10 +20,6 @@ _dmesg_module() COMPREPLY=( $(compgen -W "emerg alert crit err warn notice info debug" -- $cur) ) return 0 ;; - '-s'|'--buffer-size') - COMPREPLY=( $(compgen -W "size" -- $cur) ) - return 0 - ;; '--time-format') COMPREPLY=( $(compgen -W "delta reltime ctime notime iso" -- $cur) ) return 0 |
