Merge pull request #15997 from ahrtr/etcdctl_hashkv_20230602

etcdctl: update the description for flag '--rev'
This commit is contained in:
Benjamin Wang
2023-06-02 16:21:29 +08:00
committed by GitHub

View File

@@ -76,7 +76,7 @@ func newEpHashKVCommand() *cobra.Command {
Short: "Prints the KV history hash for each endpoint in --endpoints",
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
}