You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Miller (JIRA)" <ji...@apache.org> on 2017/08/18 17:39:00 UTC

[jira] [Comment Edited] (ACCUMULO-4696) Shell help command requires auth

    [ https://issues.apache.org/jira/browse/ACCUMULO-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133328#comment-16133328 ] 

Michael Miller edited comment on ACCUMULO-4696 at 8/18/17 5:38 PM:
-------------------------------------------------------------------

The shell command uses the "\-h" option so it requires "\-?, --help" to display help.  I don't think its worth changing the "\-h" option but at the very least we should update the main accumulo help to notify the user of the difference.


was (Author: milleruntime):
The shell command uses the "-h" option so it requires "-?, --help" to display help.  I don't think its worth changing the "-h" option but at the very least we should update the main accumulo help to notify the user of the difference.

> Shell help command requires auth
> --------------------------------
>
>                 Key: ACCUMULO-4696
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4696
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Michael Miller
>            Priority: Minor
>
> Printing the help for the shell under 'accumulo' script command requires authentication.  
> {code}
> ~/sw/uno/install/accumulo-2.0.0-SNAPSHOT$ ./bin/accumulo shell -h
> Password: 
> {code}
> This is annoying because as a user I can't see what the options are to authenticate without the help (-h) option.  The help shouldn't require a username and password.
> The help for other commands seem to work fine:
> {code}
>  ~/sw/uno/install/accumulo-2.0.0-SNAPSHOT$ ./bin/accumulo init -h
> Usage: accumulo init [options]
>   Options:
>     --add-volumes
>        Initialize any uninitialized volumes listed in instance.volumes
>        Default: false
>     --clear-instance-name
>        delete any existing instance name without prompting
>        Default: false
>     -f, --force
>        force reset of the security information without prompting
>        Default: false
>     -h, -?, --help, -help
>    ...
> {code}  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)