Bug 315288 (MONO60842) - [PATCH] Remove "Compilation succeeded" message via --quiet commandline option
Summary: [PATCH] Remove "Compilation succeeded" message via --quiet commandline option
Status: RESOLVED FIXED
Alias: MONO60842
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other All
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 00:31 UTC by William Fulton
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch to add in a --quiet commandline option (1.61 KB, patch)
2004-06-29 07:52 UTC, Thomas Wiest
Details | Diff
Ben Maurer comments addressed and adds -q short form of option (1.78 KB, patch)
2004-07-03 18:09 UTC, Thomas Wiest
Details | Diff
"Compilation succeeded" removed when zero errors/warnings - restored with a --noquiet commandline option (1.75 KB, patch)
2004-07-03 18:33 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:44:28 UTC


---- Reported by wsf@fultondesigns.co.uk 2004-06-28 17:31:31 MST ----

I'm attaching patch which adds a --quiet commandline to suppress the
"Compilation succeeded" message, but only when there are no warnings or errors.

Please consider the patch for the 1.0 release as some of us find the
display of this message useless noise when compiling large numbers of files
and would prefer the more conventional approach of being completely quiet
unless there is a problem to report.



---- Additional Comments From wsf@fultondesigns.co.uk 2004-06-29 00:52:07 MST ----

Created an attachment (id=166361)
patch to add in a --quiet commandline option




---- Additional Comments From bmaurer@users.sf.net 2004-06-30 10:17:27 MST ----

If there are warnings, this will show '- ...'. You should have
`Compilation succeeded -- X warnings'

Also, I think you might want to add a short form of the option.



---- Additional Comments From wsf@fultondesigns.co.uk 2004-07-03 11:09:30 MST ----

Created an attachment (id=166362)
Ben Maurer comments addressed and adds -q short form of option




---- Additional Comments From wsf@fultondesigns.co.uk 2004-07-03 11:31:37 MST ----

My preferred option would be for mcs to be quiet by default following
in the footsteps of the majority of other compilers. There was very
little feedback when I brought this up on the mailing list, obviously
not an important detail. So I'm attaching my preferred patch which
removes the "Compilation succeeded" message by default and introduces
a --noquiet option instead to restore the message.

Take your pick :)



---- Additional Comments From wsf@fultondesigns.co.uk 2004-07-03 11:33:35 MST ----

Created an attachment (id=166363)
"Compilation succeeded" removed when zero errors/warnings - restored with a --noquiet commandline option




---- Additional Comments From bmaurer@users.sf.net 2004-07-03 11:54:15 MST ----

noquiet is usually called verbose (-v usually)



---- Additional Comments From wsf@fultondesigns.co.uk 2004-07-03 13:07:31 MST ----

Unfortunately there is already a -v verbose option. See mcs -help2.



---- Additional Comments From miguel@ximian.com 2004-12-08 23:16:11 MST ----

Removed the message

Imported an attachment (id=166361)
Imported an attachment (id=166362)
Imported an attachment (id=166363)