diff options
| author | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-10 16:47:01 -0400 |
|---|---|---|
| committer | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-10 17:20:29 -0400 |
| commit | 144d0dc1880b15b3d4ed8fce84820d2be1ed5abf (patch) | |
| tree | 503b438cae261a2d0fe0af634d0d2a6202fd8cef /bash-completion | |
| parent | 7419cae9f59c1516e32cde5c982be1d1a21e2fd7 (diff) | |
| download | util-linux-144d0dc1880b15b3d4ed8fce84820d2be1ed5abf.tar.gz | |
bash-completion: dmesg: complete filenames for --kmsg-file
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Diffstat (limited to 'bash-completion')
| -rw-r--r-- | bash-completion/dmesg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash-completion/dmesg b/bash-completion/dmesg index 15a7888b24..4754a12f40 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') |
