pluginval icon indicating copy to clipboard operation
pluginval copied to clipboard

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

Open ImJimmi opened this issue 6 years ago • 3 comments

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: https://github.com/Tracktion/pluginval/blob/ad76533716677ab60395afb64b550809422f1552/Source/CommandLine.cpp#L269

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: https://github.com/Tracktion/pluginval/blob/ad76533716677ab60395afb64b550809422f1552/Source/CommandLine.cpp#L129

ImJimmi avatar Jul 02 '19 10:07 ImJimmi

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

drowaudio avatar Jul 02 '19 21:07 drowaudio

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

ImJimmi avatar Jul 04 '19 21:07 ImJimmi

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

drowaudio avatar Jul 08 '19 14:07 drowaudio