cluster-version and ansible dir params in 'tiup dm import' are mandatory, please add them in command help info #792
Labels
ansible
Categorizes issue as related to tidb-ansible
status/TODO
Categorizes issue as we will do it.
type/bug
Categorizes issue as related to a bug.
Milestone
Bug Report
Please answer these questions before submitting your issue. Thanks!
[root@localhost ~]# tiup dm import --help
Import an exist DM 1.0 cluster from dm-ansible and re-deploy 2.0 version
Usage:
tiup dm import [flags]
What did you expect to see?
-v, --cluster-version string cluster version of DM to deploy
-d, --dir string The path to DM-Ansible directory (default "./")
these two params are mandatory to the command, but they are described as optional now
What did you see instead?
Usage:
tiup dm import [flags]
What version of TiUP are you using (
tiup --version
)?[root@localhost ~]# tiup --version
v1.0.9 tiup
Go Version: go1.13
Git Branch: master
GitHash: 41fbacf
[root@localhost ~]# tiup dm --version
Starting component
dm
: /root/.tiup/components/dm/v1.1.2/tiup-dm --versiontiup version v1.1.2 tiup
Go Version: go1.13
Git Branch: release-1.1
GitHash: 7cb85b9-dirty
The text was updated successfully, but these errors were encountered: