Skip to content

Display and control your Android device

Fix bash completion syntax

Harsh Shandilyaaf69689ec1d5
diff --git a/app/data/bash-completion/scrcpy b/app/data/bash-completion/scrcpy
index 0c854310..a0490157 100644
--- a/app/data/bash-completion/scrcpy
+++ b/app/data/bash-completion/scrcpy
@@ -115,8 +115,7 @@ _scrcpy() {
COMPREPLY=($(compgen -W 'front back external' -- "$cur"))
return
;;
- --orientation
- --display-orientation)
+ --orientation|--display-orientation)
COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
return
;;