From: Christian Goeschel Ndjomouo Date: Fri, 10 Oct 2025 20:47:01 +0000 (-0400) Subject: bash-completion: dmesg: complete filenames for --kmsg-file X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=144d0dc1880b15b3d4ed8fce84820d2be1ed5abf;p=thirdparty%2Futil-linux.git bash-completion: dmesg: complete filenames for --kmsg-file Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/bash-completion/dmesg b/bash-completion/dmesg index 15a7888b2..4754a12f4 100644 --- a/bash-completion/dmesg +++ b/bash-completion/dmesg @@ -6,7 +6,7 @@ _dmesg_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in - '-F'|'--file') + '-F'|'--file'|'-K'|'--kmsg-file') local IFS=$'\n' compopt -o filenames COMPREPLY=( $(compgen -f -- $cur) ) @@ -21,7 +21,7 @@ _dmesg_module() return 0 ;; '-s'|'--buffer-size') - COMPREPLY=( $(compgen -W "size" -- $cur) ) + COMPREPLY=( $(compgen -W "size" -- $cur) ) return 0 ;; '--time-format')