Fix online help in cqlsh for COPY commands.

Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469
This commit is contained in:
Brandon Williams 2012-07-28 14:01:57 -05:00
parent 0819ad144c
commit 2d71a8eea5
1 changed files with 3 additions and 1 deletions

View File

@ -1440,11 +1440,13 @@ class Shell(cmd.Cmd):
r"""
COPY [cqlsh only]
Imports CSV data into a Cassandra table.
COPY x FROM: Imports CSV data into a Cassandra table
COPY x TO: Exports data from a Cassandra table in CSV format.
COPY <table_name> [ ( column [, ...] ) ]
FROM ( '<filename>' | STDIN )
[ WITH <option>='value' [AND ...] ];
COPY <table_name> [ ( column [, ...] ) ]
TO ( '<filename>' | STDOUT )
[ WITH <option>='value' [AND ...] ];