panic: Missing experiment name #2248
Labels
bug
Something isn't working
ooni/probe-engine
priority/high
techdebt
This issue describes technical debt
user feedback
requests that have been added to the backlog as a direct result of user feedback or testing
Describe the bug
If no options are given, the program emits an panic error.
Using 3.16.0-alpha.1 release AMD64 gnu/Linux build
To Reproduce
Run the program without any arguments.
$ ./miniooni-linux-amd64 --version
3.16.0-alpha.1
$ ./miniooni-linux-amd64
panic: Missing experiment name
goroutine 1 [running]:
github.com/ooni/probe-cli/v3/internal/runtimex.PanicIfFalse(...)
/home/runner/work/probe-cli/probe-cli/internal/runtimex/runtimex.go:17
main.Main()
/home/runner/work/probe-cli/probe-cli/internal/cmd/miniooni/libminiooni.go:152 +0x219
main.main()
/home/runner/work/probe-cli/probe-cli/internal/cmd/miniooni/main.go:10 +0x17
Steps to reproduce the behavior.
Expected behavior
The expected behavior is output the help screen '--help' output.
System information (please complete the following information):
The text was updated successfully, but these errors were encountered: