tiup playground,the parameter is incorrect, but the command did not report an error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Feature Request
Is your feature request related to a problem? Please describe:
tiup --T tidb playground
In the command, the parameter of --T was wrong (it should be -T in fact), but the command did not report an error
tiup version:1.5.2 tiup
Describe the feature you'd like:
Why the featue is needed:
When you want to pass in wrong parameters, you will report an error. This problem is better positioned
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing tiup --T tidb playground and compare it with the intended -T form, then trace the playground command's argument parsing. Done means the invalid --T parameter reports an error while the valid -T invocation continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100