Skip to content

Commit

Permalink
Show helpful message when CLI parsing fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Oct 20, 2010
1 parent b135774 commit 5f08e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/yahoo/platform/yui/compressor/Configuration.java
Expand Up @@ -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));
Expand Down

0 comments on commit 5f08e37

Please sign in to comment.