Fix incorrect compgen usage
PR #4532 <https://github.com/Genymobile/scrcpy/pull/4532> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
af69689ec1
commit
604dfd7c6b
@ -116,11 +116,11 @@ _scrcpy() {
|
||||
return
|
||||
;;
|
||||
--orientation|--display-orientation)
|
||||
COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--record-orientation)
|
||||
COMPREPLY=($(compgen -> '0 90 180 270' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W '0 90 180 270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
|
Loading…
x
Reference in New Issue
Block a user