Skip to content

Display and control your Android device

Add missing --no-window shell completion

Romain Vimonta007c038cac4
diff --git a/app/data/bash-completion/scrcpy b/app/data/bash-completion/scrcpy
index 11e75578..2673c62b 100644
--- a/app/data/bash-completion/scrcpy
+++ b/app/data/bash-completion/scrcpy
@@ -65,6 +65,7 @@ _scrcpy() {
--no-vd-system-decorations
--no-video
--no-video-playback
+ --no-window
--orientation=
--otg
-p --port=
diff --git a/app/data/zsh-completion/_scrcpy b/app/data/zsh-completion/_scrcpy
index b1f33154..e629e722 100644
--- a/app/data/zsh-completion/_scrcpy
+++ b/app/data/zsh-completion/_scrcpy
@@ -71,6 +71,7 @@ arguments=(
'--no-vd-system-decorations[Disable virtual display system decorations flag]'
'--no-video[Disable video forwarding]'
'--no-video-playback[Disable video playback]'
+ '--no-window[Disable scrcpy window]'
'--orientation=[Set the video orientation]:orientation values:(0 90 180 270 flip0 flip90 flip180 flip270)'
'--otg[Run in OTG mode \(simulating physical keyboard and mouse\)]'
{-p,--port=}'[\[port\[\:port\]\] Set the TCP port \(range\) used by the client to listen]'