hatoo / oha

Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation.
MIT License
5.62k stars 138 forks source link

fix(417): Make vsock-addr and unix-socket conflict #423

Closed jalil-salame closed 7 months ago

jalil-salame commented 7 months ago

Providing both --vsock-addr and --unix-socket now throws an error:

$ oha --vsock-addr '1:3000' --unix-socket ./socket 'http://localhost:3000'`
error: the argument '--vsock-addr <VSOCK_ADDR>' cannot be used with '--unix-socket <UNIX_SOCKET>'

Usage: oha [FLAGS] [OPTIONS] <url>

For more information, try '--help'.

Closes #417

hatoo commented 7 months ago

Thank you! 👍