accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1899) cli.Help should return non-zero status on error parsing args
Date Fri, 15 Nov 2013 19:47:20 GMT
Sean Busbey created ACCUMULO-1899:
-------------------------------------

             Summary: cli.Help should return non-zero status on error parsing args
                 Key: ACCUMULO-1899
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1899
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Sean Busbey
            Priority: Minor


Right now org.apache.accumulo.core.cli.Help.parseArgs() uses System.exit(0) on parse error.

If the user gives invalid flags and triggers this code path, we should exit with non-zero
status to indicate a problem.

Previously (in 1.4.x), not properly setting non-zero status for command line parse errors
caused some integration tests to fail silently for some time.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message