temporal
temporal copied to clipboard
"Flag provided but not defined" when trying to specify config path
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
The config flags are weird for historical reasons. -c is a global flag (i.e. has to be given before start), but it just specifies the directory. For the file within the directory, add -e file, but without the .yaml extension.
Ah, gotcha. We should probably change the CLI help messages then, since this isn't clear at all otherwise.