Skip to content

Commit

Permalink
README: range-end is not a flag and should not be used
Browse files Browse the repository at this point in the history
As README declares in the beginning, flags can have dash and it should be
replaced with underscore while using. Also flags or commands are emphasized
in general. The range-end is not a flag or valid doc word and should not be
used as such.
  • Loading branch information
spzala committed Jan 2, 2018
1 parent 5e78da1 commit f6f4589
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 f6f4589

Please sign in to comment.