UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Feature request #3851 ufo2map -check silent mode
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Feature request
  • Category
    Maps
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Complexity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/feature-requests/366 Item 366] imported from sourceforge.net tracker on 2013-01-28 20:18:20

it would be nice to have a silent/quiet mode for ufo2map -check (maybe also for other params, but they might have different output requirements).

this mode would not print anything for a map that has no reports.

if a map has reports, map name and the reports only are printed.

while this shortened mode could have a separate subflag 'sparse' or something, i'm not sure it's worth complicating that much :)
===== Comments Ported from Sourceforge =====

====== blondandy (2008-08-26 20:51:16) ======

Logged In: YES
user_id=1760416
Originator: NO

I quite like the idea of having quieter ufo2map, for compiling and checking.

I will take advice first (as it is a big change), but I could do a U2M_Printf() function that only prints if the verbosity level set by the user allows it.
====== blondandy (2008-08-27 07:13:33) ======

Logged In: YES
user_id=1760416
Originator: NO

some more flesh to the idea:

ufo2map --quiet <int>

(-q would be an abbreviation)

5 - say nothing unless there is an error that results in abnormal termination
4 - if -check finds something, then print mapname and -check findings.
if compiling print mapname only
2,3 if -check then as 4, but more verbose. reserved for future distinctions.
1 - print about what we do now (the default if -q is not specified)
0 - print more than we do now (potentially)

implement
U2M_Printf(int importance, char *fmt, ...)

only continue and output if importance>=quietness
====== richlv (2008-08-27 07:31:19) ======

Logged In: YES
user_id=891377
Originator: YES

that more looks like verbosity levels, common among *x cli applications ;)
usually lower numbers mean less verbose, higher mean more verbose (and param is -v)
====== blondandy (2008-08-27 12:42:27) ======

Logged In: YES
user_id=1760416
Originator: NO

some more flesh to the idea:

ufo2map --quiet <int>

(-q would be an abbreviation)

5 - say nothing unless there is an error that results in abnormal termination
4 - if -check finds something, then print mapname and -check findings.
if compiling print mapname only
2,3 if -check then as 4, but more verbose. reserved for future distinctions.
1 - print about what we do now (the default if -q is not specified)
0 - print more than we do now (potentially)

implement
U2M_Printf(int importance, char *fmt, ...)

only continue and output if importance>=quietness
====== blondandy (2008-08-27 12:47:04) ======

Logged In: YES
user_id=1760416
Originator: NO

damn sf.net and http.

that was a mistake. i was not intending to beat richlv and his -v into submission by reiteration of my stance.

i will reverse it and do -v <int>
====== blondandy (2008-09-01 10:06:09) ======

Logged In: YES
user_id=1760416
Originator: NO

please see, (and indeed edit) my proposal on the wiki.

it is half implemented already.
====== blondandy (2008-09-02 20:52:18) ======

Logged In: YES
user_id=1760416
Originator: NO

18920
====== richlv (2008-11-22 09:53:29) ======

confirming, revision 20288 nicely supplies verbosity option (though only when specified as the very first option)
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif