You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2013/11/15 20:47:20 UTC

[jira] [Created] (ACCUMULO-1899) cli.Help should return non-zero status on error parsing args

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)