Files
mercury/tests/hard_coded/getopt_test.exp
Tyson Dowd 386f65f31f Bug fix for getopt (from Philip Dart).
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.
1997-07-08 06:44:07 +00:00

4 lines
44 B
Plaintext

option bar: `yes'
option foo: `happy'
["-"]