mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-31 06:15:25 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user