From: Christian Goeschel Ndjomouo Date: Fri, 10 Oct 2025 20:48:39 +0000 (-0400) Subject: bash-completion: dmesg: remove redundant completion for --buffer-size X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7873a9366d7ef2e9f890a0b9f33de7307736cb06;p=thirdparty%2Futil-linux.git 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 --- diff --git a/bash-completion/dmesg b/bash-completion/dmesg index 4754a12f4..82b81849e 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