Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show helpful message when CLI parsing fails.

  • Loading branch information...
commit 5f08e37377c28746aa7424a845b1d0ab4b9da408 1 parent b135774
@reid reid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/yahoo/platform/yui/compressor/Configuration.java
View
2  src/com/yahoo/platform/yui/compressor/Configuration.java
@@ -41,7 +41,7 @@ public Configuration (String args[]) throws ConfigurationException {
try {
cliParser.parse(args);
} catch (CmdLineParser.OptionException ex) {
- throw new ConfigurationException("Command line parse failed.");
+ throw new ConfigurationException(ex.getMessage());
}
setInputType((String) cliParser.getOptionValue(typeOpt));
Please sign in to comment.
Something went wrong with that request. Please try again.