Xiang Li 448ca20cdc etcdctl: fix exec watch command
The previous flag parsing has a small issue. It uses
`recursive == true` and `after-index == 0` to determine
if user specifies the sub flags. This is incorrect since
user can specify `after-index = 0`. Then the flag parsing
would be confused.

This commit explicitly find the `--` in the remaining args
and determine the key and cmdArgs accordingly.
2015-07-23 13:13:15 +08:00
..
2015-06-15 18:18:50 -04:00
2015-06-15 11:12:28 -07:00
2015-06-02 19:01:41 -07:00
2015-07-21 12:53:20 -07:00
2015-07-21 12:53:19 -07:00
2015-07-21 12:53:19 -07:00
2015-07-21 12:53:19 -07:00
2015-07-21 12:53:19 -07:00
2015-06-15 18:18:50 -04:00
2015-07-21 12:53:19 -07:00
2015-06-15 18:18:50 -04:00