Skip to content
Snippets Groups Projects
Commit 0da73e45 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Improve output when no required CLI option is matched.

parent cfbedd67
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ public class DataCompressor {
formatter.printHelp(CliConstants.MAIN_HELP, options);
return;
}
System.err.println("Error: " + e.getMessage());
System.err.println("Error: Missing required option, see usage below. :^)");
formatter.printHelp(CliConstants.MAIN_HELP, options);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment