Skip to content

Conversation

@mhils
Copy link

@mhils mhils commented Sep 1, 2021

Go's flag package expects all flags to come before positional arguments.
hey https://example.com -n 1 currently behaves like hey https://example.com, which is a bit unexpected.
This commit changes this behavior to exit and show usage information instead.

Thanks for maintaining hey, it has been super useful to me! 😃

Go's flag package expects all flags to come before positional arguments. `hey https://example.com -n 1` currently behaves like `hey https://example.com`, which is a bit unexpected. This commit changes this behavior to exit and show usage information instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant