Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI doesn't work #8

Open
NathanSweet opened this issue Jul 16, 2017 · 2 comments
Open

CLI doesn't work #8

NathanSweet opened this issue Jul 16, 2017 · 2 comments

Comments

@NathanSweet
Copy link

Cloned, built with Gradle (would prefer a JAR download), run on Windows:

jarjar-command.bat
Exception in thread "main" java.lang.IllegalArgumentException: [output] is required.
        at com.tonicsystems.jarjar.Main.valueOf(Main.java:95)
        at com.tonicsystems.jarjar.Main.process(Main.java:130)
        at com.tonicsystems.jarjar.Main.run(Main.java:75)
        at com.tonicsystems.jarjar.Main.main(Main.java:144)

Same for jarjar-command.bat help, jarjar-command.bat process x y z, etc.

@NathanSweet
Copy link
Author

The documentation says process <rulesFile> <inJar> <outJar> is supposed to work, but it does not. -rules [rulesFile] -output [outputJAR] [inputJAR] is required. help still doesn't work.

@JekRock
Copy link
Contributor

JekRock commented Oct 24, 2019

@NathanSweet it works. Parameters should be passed with "--". For example try to run java -jar .\jarjar.jar --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants