Add auto-completion for --codec option

Add missing command to bash and zsh completion scripts.
This commit is contained in:
Romain Vimont
2023-02-21 19:48:28 +01:00
parent 5d6bcc5966
commit 3e3756a323
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ local arguments
arguments=(
'--always-on-top[Make scrcpy window always on top \(above other windows\)]'
{-b,--bit-rate=}'[Encode the video at the given bit-rate]'
'--codec=[Select the video codec]:codec:(h264 h265 av1)'
'--codec-options=[Set a list of comma-separated key\:type=value options for the device encoder]'
'--crop=[\[width\:height\:x\:y\] Crop the device screen on the server]'
{-d,--select-usb}'[Use USB device]'