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