Commit a4be48ca authored by mikael.beyene's avatar mikael.beyene
Browse files

Drop deprecated API call

parent 4c852d56
......@@ -103,7 +103,8 @@ public class App {
cmd.setUsageHelpWidth(120);
try {
List<CommandLine> parsed = cmd.parse(args);
List<CommandLine> parsed = cmd.parseArgs(args).asCommandLineList();
if (parsed.size() != 1) {
System.err.println("Number of arguments not supported!");
cmd.usage(System.out);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment