Display and control your Android device
Reorder options to maintain alphabetical order
Romain Vimont4c4a03ebe167
diff --git a/app/scrcpy.1 b/app/scrcpy.1index d506d9e7..a30e7db0 100644--- a/app/scrcpy.1+++ b/app/scrcpy.1@@ -33,14 +33,6 @@ Lower values decrease the latency, but increase the likelyhood of buffer underruDefault is 50.-.TP-.BI "\-\-audio\-output\-buffer ms-Configure the size of the SDL audio output buffer (in milliseconds).--If you get "robotic" audio playback, you should test with a higher value (10). Do not change this setting otherwise.--Default is 5.-.TP.BI "\-\-audio\-codec " nameSelect an audio codec (opus, aac or raw).@@ -63,6 +55,14 @@ Use a specific MediaCodec audio encoder (depending on the codec provided by \fB\The available encoders can be listed by \-\-list\-encoders.+.TP+.BI "\-\-audio\-output\-buffer ms+Configure the size of the SDL audio output buffer (in milliseconds).++If you get "robotic" audio playback, you should test with a higher value (10). Do not change this setting otherwise.++Default is 5.+.TP.BI "\-b, \-\-video\-bit\-rate " valueEncode the video at the given bit\-rate, expressed in bits/s. Unit suffixes are supported: '\fBK\fR' (x1000) and '\fBM\fR' (x1000000).diff --git a/app/src/cli.c b/app/src/cli.cindex 1b42f75c..01b55406 100644--- a/app/src/cli.c+++ b/app/src/cli.c@@ -134,16 +134,6 @@ static const struct sc_option options[] = {"likelyhood of buffer underrun (causing audio glitches).\n""Default is 50.",},- {- .longopt_id = OPT_AUDIO_OUTPUT_BUFFER,- .longopt = "audio-output-buffer",- .argdesc = "ms",- .text = "Configure the size of the SDL audio output buffer (in "- "milliseconds).\n"- "If you get \"robotic\" audio playback, you should test with "- "a higher value (10). Do not change this setting otherwise.\n"- "Default is 5.",- },{.longopt_id = OPT_AUDIO_CODEC,.longopt = "audio-codec",@@ -171,6 +161,16 @@ static const struct sc_option options[] = {"codec provided by --audio-codec).\n""The available encoders can be listed by --list-encoders.",},+ {+ .longopt_id = OPT_AUDIO_OUTPUT_BUFFER,+ .longopt = "audio-output-buffer",+ .argdesc = "ms",+ .text = "Configure the size of the SDL audio output buffer (in "+ "milliseconds).\n"+ "If you get \"robotic\" audio playback, you should test with "+ "a higher value (10). Do not change this setting otherwise.\n"+ "Default is 5.",+ },{.shortopt = 'b',.longopt = "video-bit-rate",