You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "paul cannon (JIRA)" <ji...@apache.org> on 2010/11/23 21:18:17 UTC

[jira] Commented: (CASSANDRA-1770) cassandra-cli help output should mention the need for semicolons

    [ https://issues.apache.org/jira/browse/CASSANDRA-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935026#action_12935026 ] 

paul cannon commented on CASSANDRA-1770:
----------------------------------------

Oh yeah, and when a semicolon isn't given, the continuation line should have a secondary prompt, like ">  " or "...  " or something.

> cassandra-cli help output should mention the need for semicolons
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1770
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1770
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0 rc 1
>         Environment: Debian squeeze with 0.7.0~rc1 package installed
>            Reporter: paul cannon
>            Priority: Minor
>
> When running cassandra-cli for the first time after upgrading beta3 -> rc1, I thought it was broken, because any command I typed ("?", "quit", "exit", "use system", etc) just printed some empty space and sat there until I killed it. I didn't know it was a continuation prompt, or that semicolons were needed.
> The startup banner message currently says:
> {noformat}
> Connected to: "Test Cluster" on localhost/9160
> Welcome to cassandra CLI.
> Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
> {noformat}
> I believe that the example commands should have semicolons after them, to let the user know about the change.
> Also, a "?" by itself should probably not require a semicolon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.