Skip to content
Snippets Groups Projects
Commit 646c5680 authored by Martin Vogel's avatar Martin Vogel
Browse files

refactor(cmd-client): improve print of help info

parent 3f688e21
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,6 @@ public class CommandLineClient { ...@@ -50,7 +50,6 @@ public class CommandLineClient {
public void run(final String... args) throws IOException { public void run(final String... args) throws IOException {
final var parsedCommand = parseCommandFromArguments(args); final var parsedCommand = parseCommandFromArguments(args);
if (parsedCommand == null) { if (parsedCommand == null) {
jc.usage();
return; return;
} }
executeCommand(parsedCommand); executeCommand(parsedCommand);
...@@ -76,7 +75,7 @@ public class CommandLineClient { ...@@ -76,7 +75,7 @@ public class CommandLineClient {
listOneSubmission(listOneSubmissionCommand); listOneSubmission(listOneSubmissionCommand);
break; break;
default: default:
jc.usage(); break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment