Skip to content
Snippets Groups Projects
Commit fb2ad7dd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

JS module command-lines now supported quoted arguments (w/white-space)

Example:
Command-line: ?showargs   " a b c "d "e f"
argc = 3
argv[0] = ' a b c '
argv[1] = 'd'
argv[2] = 'e f'   

This resolves a long-standing TODO comment.

Also, fixed a problem where multiple spaces between the module name and the first argument would result in argv[0] being set to an empty string.
parent 8fd71027
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment