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

Run wrk --version always return exit code 1 in terminal #536

Open
alyssa1303 opened this issue May 16, 2024 · 0 comments
Open

Run wrk --version always return exit code 1 in terminal #536

alyssa1303 opened this issue May 16, 2024 · 0 comments

Comments

@alyssa1303
Copy link

Description

Can we update the code to return exit code 0 instead of exit code 1 when running in command wrk --version in bash terminal?

Error log

root@b67e6398217a:/wrk# wrk -v               
wrk 4.2.0 [epoll] Copyright (C) 2012 Will Glozer
Usage: wrk <options> <url>                            
  Options:                                            
    -c, --connections <N>  Connections to keep open   
    -d, --duration    <T>  Duration of test           
    -t, --threads     <N>  Number of threads to use   
                                                      
    -s, --script      <S>  Load Lua script file       
    -H, --header      <H>  Add header to request      
        --latency          Print latency statistics   
        --timeout     <T>  Socket/request timeout     
    -v, --version          Print version details      
                                                      
  Numeric arguments may include a SI unit (1k, 1M, 1G)
  Time arguments may include a time unit (2s, 2m, 2h)
root@b67e6398217a:/wrk# echo $?
1
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

No branches or pull requests

1 participant