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:
parent
1c95043478
commit
77e96d745b
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue