Skip to content

Commit

Permalink
Revert "Improve noargs message and add a help argument + detailed mes…
Browse files Browse the repository at this point in the history
…sage (#188)"

This reverts commit 688a603.
  • Loading branch information
jaskarth authored Aug 7, 2022
1 parent 688a603 commit 3e7eddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
import java.nio.file.Paths;
import java.util.*;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import java.util.stream.Stream;
import java.util.zip.CheckedInputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
Expand Down Expand Up @@ -58,11 +60,6 @@ else if (args.length > x+1) {
}
args = params.toArray(new String[params.size()]);

if (Arrays.stream(args).anyMatch(arg -> arg.equals("-h") || arg.equals("--help") || arg.equals("-help"))) {
ConsoleHelp.printHelp();
return;
}

if (args.length < 2) {
System.out.println(
"Usage: java -jar fernflower.jar [-<option>=<value>]* [<source>]+ <destination>\n" +
Expand Down
114 changes: 0 additions & 114 deletions src/org/jetbrains/java/decompiler/main/decompiler/ConsoleHelp.java

This file was deleted.

0 comments on commit 3e7eddc

Please sign in to comment.