mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 23:35:25 +00:00
Estimated hours taken: 0.5 Bug fix for getopt (from Philip Dart). library/getopt.m: Handle "-" correctly - it was silently ignoring it. It should be treated as if it is a normal argument, not an option. tests/hard_coded/Mmake: tests/hard_coded/getopt_test.m: tests/hard_coded/getopt_test.exp: Test case for this bug.
4 lines
44 B
Plaintext
4 lines
44 B
Plaintext
option bar: `yes'
|
|
option foo: `happy'
|
|
["-"]
|