mirror of https://github.com/Genymobile/scrcpy
Do not print usage on command error
On error, a message is printed. If we print usage afterwards, it's easy to miss it.
This commit is contained in:
parent
8697659890
commit
c6c17af840
|
@ -238,7 +238,6 @@ int main(int argc, char *argv[]) {
|
|||
.bit_rate = DEFAULT_BIT_RATE,
|
||||
};
|
||||
if (!parse_args(&args, argc, argv)) {
|
||||
usage(argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue