temporalio / temporalio/temporal
"Flag provided but not defined" when trying to specify config path
Open
Nobody has claimed this yet.
potential-bug
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Expected Behavior
temporal-server start -c /path/to/config would load a config path
Actual Behavior
Incorrect Usage: flag provided but not defined: -c
This happens when passing --config as well, and it also happens with the new ui-server binaries.
Steps to Reproduce the Problem
- Try to path a config path to the binary at runtime
Specifications
- Version: newest release (1.24.2)
- Platform: bash on Ubuntu 22.04
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 the command with temporal-server start and the ui-server binaries using both -c and --config, then inspect the command entry points that define their flags. Done means the config path is accepted at runtime and the specified configuration is loaded without the undefined-flag error.
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
- 45/100