From 144d0dc1880b15b3d4ed8fce84820d2be1ed5abf Mon Sep 17 00:00:00 2001 From: Christian Goeschel Ndjomouo Date: Fri, 10 Oct 2025 16:47:01 -0400 Subject: [PATCH] bash-completion: dmesg: complete filenames for --kmsg-file Signed-off-by: Christian Goeschel Ndjomouo --- bash-completion/dmesg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.47.3