mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
exit code 1 if parameters are wrong
for use in scripts, it's not convenient to get an exit code 0 on failure.
This commit is contained in:
parent
ecbcfb437e
commit
546577df6a
@ -54,6 +54,7 @@ public class Main {
|
||||
} catch (ParseException ex) {
|
||||
System.err.println(ex.getMessage());
|
||||
usage();
|
||||
System.exit(1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user