etcdctl: update the description for flag '--rev'

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang
2023-06-02 15:53:08 +08:00
parent 53b23d32db
commit a9864d4edb

View File

@ -76,7 +76,7 @@ func newEpHashKVCommand() *cobra.Command {
Short: "Prints the KV history hash for each endpoint in --endpoints", Short: "Prints the KV history hash for each endpoint in --endpoints",
Run: epHashKVCommandFunc, Run: epHashKVCommandFunc,
} }
hc.PersistentFlags().Int64Var(&epHashKVRev, "rev", 0, "maximum revision to hash (default: all revisions)") hc.PersistentFlags().Int64Var(&epHashKVRev, "rev", 0, "maximum revision to hash (default: latest revision)")
return hc return hc
} }