mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-31 14:25:56 +00:00
Suggest --record-format instead of -F on error
The short option -F has been deprecated by
ff061b4f30
. On error, suggest the long
option --record-format instead.
This commit is contained in:
@@ -962,7 +962,8 @@ scrcpy_parse_args(struct scrcpy_cli_args *args, int argc, char *argv[]) {
|
||||
if (opts->record_filename && !opts->record_format) {
|
||||
opts->record_format = guess_record_format(opts->record_filename);
|
||||
if (!opts->record_format) {
|
||||
LOGE("No format specified for \"%s\" (try with -F mkv)",
|
||||
LOGE("No format specified for \"%s\" "
|
||||
"(try with --record-format=mkv)",
|
||||
opts->record_filename);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user