[PATCH 1/3] dim: Remove -s from bash-completion

Daniel Vetter daniel.vetter at ffwll.ch
Wed Dec 13 13:12:31 UTC 2017


dim apply auto-adds this now anytime it's needed.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 bash_completion | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/bash_completion b/bash_completion
index 1bdc3915c389..a46864e009e0 100644
--- a/bash_completion
+++ b/bash_completion
@@ -64,10 +64,7 @@ _dim ()
 			COMPREPLY=( $( compgen -W "-f" -- $cur ) )
 			;;
 		apply-branch)
-			COMPREPLY=( $( compgen -W "-s $nightly_branches" -- $cur ) )
-			;;
-		apply-queued|apply-fixes|apply-next-fixes)
-			COMPREPLY=( $( compgen -W "-s" -- $cur ) )
+			COMPREPLY=( $( compgen -W "$nightly_branches" -- $cur ) )
 			;;
 		magic-patch)
 			if [[ $args == 2 ]]; then
-- 
2.15.1



More information about the dim-tools mailing list