$ ./bin/sync_diff_inspector -h
Usage of diff:
-V, --version print version of sync_diff_inspector
-L, --log-level string log level: debug, info, warn, error, fatal (default "info")
-C, --config string Config file
-T, --template string <dm|norm> export a template config file in the current directory <------------------------------------------
--dm-addr string the address of DM
--dm-task string identifier of dm task
--check-thread-count int how many goroutines are created to check data (default 4)
--export-fix-sql set true if want to compare rows or set to false will only compare checksum (default true)
--check-struct-only ignore check table's data
--skip-non-existing-table skip validation for tables that don't exist upstream or downstream
The -T option prints out a template to standard out, it doesn't create a file in the current directory.
What did you expect to see?
What did you see instead?
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
which tool are you using?
what versionof tool are you using (pump -V or tidb-lightning -V or syncer -V)?
Bug Report
The
-T
option prints out a template to standard out, it doesn't create a file in the current directory.What did you expect to see?
What did you see instead?
What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?which tool are you using?
what versionof tool are you using (
pump -V
ortidb-lightning -V
orsyncer -V
)?