SUBMARINE-57. Add more elaborate message if submarine command is not recognized. Contributed by Adam Antal
This commit is contained in:
parent
f6fa865d6f
commit
e5f4cd0fda
|
@ -100,7 +100,7 @@ public class Cli {
|
|||
}
|
||||
} else {
|
||||
printHelp();
|
||||
throw new IllegalArgumentException("Bad parameters <TODO>");
|
||||
throw new IllegalArgumentException("Unrecognized option: " + args[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue