Subject: | Pugs command line args error with '-' |
I am using Pugs on Win32 compiled by JWCS.
When using command line arguments, pugs reports the wrong data in @ARGS if the argument contains the character '-'.
Example:
Show quoted text
>>pugs myfile.p6 -test this
@ARGS[0] will be '-t' instead of '-test'.
@ARGS[1] will be correct though.