You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/04/28 21:04:21 UTC
[jira] [Updated] (ACCUMULO-1899) cli.Help should return non-zero
status on error parsing args
[ https://issues.apache.org/jira/browse/ACCUMULO-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs updated ACCUMULO-1899:
----------------------------------------
Affects Version/s: (was: 1.6.0)
> 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
> Reporter: Sean Busbey
> Assignee: Morgan Haskel
> Priority: Minor
> Labels: newbie
> Fix For: 1.5.1, 1.6.0
>
> 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.2#6252)