1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Add default string representation for args object

This commit is contained in:
Reinhard Pointner 2019-02-21 20:48:16 +07:00
parent e34492f6e7
commit adf3007372

View File

@ -393,6 +393,11 @@ public class ArgumentBean {
return () -> new CmdlineException(message + ": " + value);
}
@Override
public String toString() {
return deepToString(args);
}
public static ArgumentBean parse(String... args) throws CmdLineException {
try {
return new ArgumentBean(args);