From 7873a9366d7ef2e9f890a0b9f33de7307736cb06 Mon Sep 17 00:00:00 2001 From: Christian Goeschel Ndjomouo Date: Fri, 10 Oct 2025 16:48:39 -0400 Subject: [PATCH] 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 --- bash-completion/dmesg | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.47.3