From: Daniel Peukert Date: Tue, 8 Nov 2022 18:48:08 +0000 (+0100) Subject: rfkill: add toggle to bash completion X-Git-Tag: v2.39-rc1~433^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3383356263e19fcd2ee3b21cc57cc9c15b385c6e;p=thirdparty%2Futil-linux.git rfkill: add toggle to bash completion Signed-off-by: Daniel Peukert --- diff --git a/bash-completion/rfkill b/bash-completion/rfkill index 4643666e29..fbaafd2d7b 100644 --- a/bash-completion/rfkill +++ b/bash-completion/rfkill @@ -5,7 +5,7 @@ _rfkill_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in - 'list'|'block'|'unblock') + 'list'|'block'|'unblock'|'toggle') local targets targets="$(rfkill --output=id,type --noheadings list)" COMPREPLY=( $(compgen -W "all $targets" -- $cur) ) @@ -33,6 +33,7 @@ _rfkill_module() list block unblock + toggle --json --noheadings --output