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

pumba stress: unclear help string for --stressors #216

Open
ghost opened this issue Jan 21, 2022 · 0 comments
Open

pumba stress: unclear help string for --stressors #216

ghost opened this issue Jan 21, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2022

Hello, i try to specify a different stressor setting. Reading the help string :

$ ./pumba_linux_amd64 --version
Pumba version 0.9.0 - 2e7ab7b (master) 2021-11-21T10:12:49+0200

./pumba_linux_amd64 stress --help
[...]
OPTIONS:
[...]
   --stressors value           stress-ng stressors; see https://kernel.ubuntu.com/~cking/stress-ng/ (default: "--cpu 4 --timeout 60s")

I would expect this command to work:

./pumba_linux_amd64 stress -d 30s --stressors "--cpu 4 --timeout 60s"  my_container
Incorrect Usage: flag provided but not defined: -cpu 4 --timeout 60s

However the accepted one is :

./pumba_linux_amd64 stress -d 30s --stressors= "--cpu 4 --timeout 60s"  my_container

Do I not read the help string correctly, or would you consider a change in the documentation?

The "wrong" way to call the program is also featured here: https://devops.stackexchange.com/a/11705/30414
which could mislead more people.

thank you

@ghost ghost changed the title pumba stress: flag provided but not defined: -cpu 4 --timeout 60s pumba stress: unclear help string for --stressors Jan 21, 2022
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

0 participants