Skip to content

Commit

Permalink
Fix incorrect compgen usage
Browse files Browse the repository at this point in the history
PR #4532 <#4532>

Signed-off-by: Romain Vimont <[email protected]>
  • Loading branch information
msfjarvis authored and rom1v committed Dec 14, 2023
1 parent af69689 commit 604dfd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/data/bash-completion/scrcpy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 604dfd7

Please sign in to comment.