influxdata / influxdata/influxdb
Misleading error message in influxd
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
Run the following:
`influxd recovery user crete --username operator --password operator`
__Expected behavior:__
Error: unknown command: --crete See 'influxd -h' for help
__Actual behavior:__
Error: unknown flag: --username See 'influxd -h' for help
Contributor guide
Research direction
Start by running the documented `influxd recovery user crete --username operator --password operator` command and compare its output with the expected and actual messages. Trace the `influxd recovery user` entry point to determine why the username flag is reported before the misspelled command, then verify that the error identifies the invalid command as shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100