mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
* prettier filebot -help
output
This commit is contained in:
parent
37bd5423e5
commit
d4c2d77479
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user