1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

* prettier filebot -help output

This commit is contained in:
Reinhard Pointner 2015-12-04 16:08:41 +00:00
parent 37bd5423e5
commit d4c2d77479

View File

@ -19,6 +19,7 @@ import org.kohsuke.args4j.Argument;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.Option;
import org.kohsuke.args4j.ParserProperties;
import org.kohsuke.args4j.spi.ExplicitBooleanOptionHandler;
public class ArgumentBean {
@ -201,7 +202,7 @@ public class ArgumentBean {
}
public static void printHelp(ArgumentBean argumentBean, OutputStream out) {
new CmdLineParser(argumentBean).printUsage(out);
new CmdLineParser(argumentBean, ParserProperties.defaults().withShowDefaults(false).withOptionSorter(null)).printUsage(out);
}
}