What did you expect to see?
Password should not appear in command output. Because in a production system, this output often goes to a log file. And the log file may be viewed by people who are not supposed to know database password.
What did you see instead?
-ptidb
What version of TiUP are you using (tiup --version)?
$ tiup --version
1.14.0 v1.14.0-nightly-24
Go Version: go1.21.6
Git Ref: master
GitHash: 38b6c96c2d27f16bbc7fd95644235010d319f6cc
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you expect to see? Password should not appear in command output. Because in a production system, this output often goes to a log file. And the log file may be viewed by people who are not supposed to know database password.
What did you see instead? -ptidb
What version of TiUP are you using (
tiup --version
)? $ tiup --version 1.14.0 v1.14.0-nightly-24 Go Version: go1.21.6 Git Ref: master GitHash: 38b6c96c2d27f16bbc7fd95644235010d319f6cc