mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-29 04:08:56 +00:00
Add --orientation
Add a shortcut to set both the display and record orientations. PR #4441 <https://github.com/Genymobile/scrcpy/pull/4441>
This commit is contained in:
parent
a9d6cb5837
commit
b43a9e8e7a
4 changed files with 23 additions and 0 deletions
|
@ -51,6 +51,7 @@ _scrcpy() {
|
|||
--no-power-on
|
||||
--no-video
|
||||
--no-video-playback
|
||||
--orientation=
|
||||
--otg
|
||||
-p --port=
|
||||
--pause-on-exit
|
||||
|
@ -114,6 +115,7 @@ _scrcpy() {
|
|||
COMPREPLY=($(compgen -W 'front back external' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--orientation
|
||||
--display-orientation)
|
||||
COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue