mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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.
3.3 KiB
3.3 KiB