Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit be441d7

Browse files
authored
config: Correct usage info for snapshot flag (#283)
1 parent d6e5fb4 commit be441d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v4/export/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (conf *Config) DefineFlags(flags *pflag.FlagSet) {
215215
flags.StringP(flagLogfile, "L", "", "Log file `path`, leave empty to write to console")
216216
flags.String(flagLogfmt, "text", "Log `format`: {text|json}")
217217
flags.String(flagConsistency, consistencyTypeAuto, "Consistency level during dumping: {auto|none|flush|lock|snapshot}")
218-
flags.String(flagSnapshot, "", "Snapshot position (uint64 from pd timestamp for TiDB). Valid only when consistency=snapshot")
218+
flags.String(flagSnapshot, "", "Snapshot position (uint64 or MySQL style string timestamp). Valid only when consistency=snapshot")
219219
flags.BoolP(flagNoViews, "W", true, "Do not dump views")
220220
flags.String(flagStatusAddr, ":8281", "dumpling API server and pprof addr")
221221
flags.Uint64P(flagRows, "r", UnspecifiedSize, "Split table into chunks of this many rows, default unlimited")

0 commit comments

Comments
 (0)