Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fortio server should error on extra non flag arguments #652

Closed
ldemailly opened this issue Nov 11, 2022 · 0 comments · Fixed by #654
Closed

fortio server should error on extra non flag arguments #652

ldemailly opened this issue Nov 11, 2022 · 0 comments · Fixed by #654
Labels

Comments

@ldemailly
Copy link
Member

If you have a typo:

fortio server logelevel verbose

ie missing - fortio should error out instead of merrily starting

@ldemailly ldemailly added the bug label Nov 11, 2022
ldemailly added a commit that referenced this issue Nov 12, 2022
ldemailly added a commit that referenced this issue Nov 12, 2022
…st for that too (#654)

* added tests for #652, stepped on #652 while testing the test, added test for that as well

* fix #653: 1 status code on any error

* fix the test, timeout is 124 if we don't --preserve-status

* fix #652, also fix help that was missing udp-echo, prep for 1.18.4

* check for server args before starting servers. update modules

* cheers, no more gocyclo for main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant