pingcap / dumpling

Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).
Apache License 2.0
280 stars 85 forks source link

dumpling: help message for -r not accurate #353

Closed fubinzh closed 2 years ago

fubinzh commented 2 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

For dumpling supports exports using table region, help of -r option might be accurate. -r, --rows uint Split table into chunks of this many rows, default unlimited

  1. What did you expect to see? help message should be accurate.

  2. What did you see instead? [root@centos76_vm v5.0.0-nightly-20210809]# ./dumpling -V Release version: v5.1.0-7-g4e012e5 Git commit hash: 4e012e54ce89fab9551e7ff58ebcffe57590244a Git branch: release-5.2 Build timestamp: 2021-08-08 01:48:19Z Go version: go version go1.13 linux/amd64 [root@centos76_vm v5.0.0-nightly-20210809]# ./dumpling --help Dumpling is a CLI tool that helps you dump MySQL/TiDB data ... -r, --rows uint Split table into chunks of this many rows, default unlimited

  3. Versions of the cluster

[root@centos76_vm v5.0.0-nightly-20210809]# ./dumpling -V Release version: v5.1.0-7-g4e012e5 Git commit hash: 4e012e54ce89fab9551e7ff58ebcffe57590244a Git branch: release-5.2 Build timestamp: 2021-08-08 01:48:19Z Go version: go version go1.13 linux/amd64

  1. Operation logs

    • Please upload dumpling.log for Dumpling if possible
    • Other interesting logs
  2. Configuration of the cluster and the task

    • running command for Dumpling if possible
fubinzh commented 2 years ago

/type bug

fubinzh commented 2 years ago

/severity moderate

fubinzh commented 2 years ago

/assign lichunzhu