[m-rev.] for review: mmc --make [1]

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Feb 6 03:14:21 AEDT 2002


On 06-Feb-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> Index: compiler/mercury_compile.m
...
>  main -->
>  	gc_init,
> -	handle_options(MaybeError, Args, Link),
> -	main_2(MaybeError, Args, Link).
> +
> +	 	% All messages go to stderr
> +	io__stderr_stream(StdErr),
> +	io__set_output_stream(StdErr, _),
...
> +main_2(no, OptionArgs, Args, Link) -->
...
>  	( { Help = yes } ->
>  		long_usage

The output from `mmc --help' should go to stdout, not to stderr.

(Likewise for `mmc --output-grade-string', but I see you got
that one right.)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list