Skip to content

Commit

Permalink
Merge pull request #9076 from spzala/rangeend
Browse files Browse the repository at this point in the history
README: range-end is not a flag and should not be used
  • Loading branch information
xiang90 authored Jan 2, 2018
2 parents fdec12c + f6f4589 commit e6a46a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etcdctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Insert '--' for workaround:

### GET [options] \<key\> [range_end]

GET gets the key or a range of keys [key, range_end) if `range-end` is given.
GET gets the key or a range of keys [key, range_end) if range_end is given.

RPC: Range

Expand Down Expand Up @@ -178,7 +178,7 @@ If any key or value contains non-printable characters or control characters, sim

### DEL [options] \<key\> [range_end]

Removes the specified key or range of keys [key, range_end) if `range-end` is given.
Removes the specified key or range of keys [key, range_end) if range_end is given.

RPC: DeleteRange

Expand Down Expand Up @@ -339,7 +339,7 @@ Prints the compacted revision.

### WATCH [options] [key or prefix] [range_end] [--] [exec-command arg1 arg2 ...]

Watch watches events stream on keys or prefixes, [key or prefix, range_end) if `range-end` is given. The watch command runs until it encounters an error or is terminated by the user. If range_end is given, it must be lexicographically greater than key or "\x00".
Watch watches events stream on keys or prefixes, [key or prefix, range_end) if range_end is given. The watch command runs until it encounters an error or is terminated by the user. If range_end is given, it must be lexicographically greater than key or "\x00".

RPC: Watch

Expand Down

0 comments on commit e6a46a0

Please sign in to comment.