[ 
https://issues.apache.org/jira/browse/ACCUMULO-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Morgan Haskel updated ACCUMULO-1899:
------------------------------------

    Attachment: ACCUMULO-1899.patch

> 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
>              Labels: newbie
>         Attachments: ACCUMULO-1899.patch
>
>
> 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)

Reply via email to