You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/02/13 18:41:11 UTC

[jira] [Commented] (ACCUMULO-3588) Shell commands have duplicative table options

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

Josh Elser commented on ACCUMULO-3588:
--------------------------------------

[~billie.rinaldi] pointed out to me that without the {{-t}} option, it undoes some uniformity across the commands. Maybe the "multiplicity" of the {{-t}} option could be increase to accept {{-t table1 table2 .. tablen}}? Or maybe we just don't both with it at all?

> Shell commands have duplicative table options
> ---------------------------------------------
>
>                 Key: ACCUMULO-3588
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3588
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>            Reporter: Josh Elser
>              Labels: newbie
>             Fix For: 1.7.0, 1.6.3
>
>
> {noformat}
> usage: deletetable [<table>{ <table>}] [-?] [-f] [-ns <namespace> | -p <pattern> | -t <tableName>]
> description: deletes a table
>   -?,--help                       display this help
>   -f,--force                      force deletion without prompting
>   -ns,--namespace <namespace>     name of a namespace to operate on
>   -p,--pattern <pattern>          regex pattern of table names to operate on
>   -t,--table <tableName>          name of a table to operate on
> {noformat}
> We don't need the {{-t}} option, the command already accepts one to many table names as unnamed options. Looks like this is automatically inherited from ./core/src/main/java/org/apache/accumulo/core/util/shell/commands/TableOperation.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)