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

"--timeout-ms -1" doesn't work as stated. #18

Open
ImJimmi opened this issue Jul 2, 2019 · 3 comments
Open

"--timeout-ms -1" doesn't work as stated. #18

ImJimmi opened this issue Jul 2, 2019 · 3 comments

Comments

@ImJimmi
Copy link

ImJimmi commented Jul 2, 2019

In the "-help" menu, it is stated that a value of -1 can be used with the --timeout-ms option to have an unlimited timeout:

<< " By default this is 30s but can be set to -1 to never timeout." << newLine

However doing so causes the error message "Missing timeout-ms level argument!" to be displayed because the -1 value is being misinterpreted as a short parameter:

if (nextArg.isShortOption() || nextArg.isLongOption())

@drowaudio
Copy link
Contributor

Hmm, that's irritating. If you quote the value does that work? E.g. --timeout-ms "-1"?

@ImJimmi
Copy link
Author

ImJimmi commented Jul 4, 2019

No, it still outputs the "Missing argument" message!

@drowaudio
Copy link
Contributor

Hmm, ok. I'll take a look. Can you just use a very high number in the meantime?

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

2 participants