- --silent global option added. Use cout_n for normal program
output which should be suppressed by --silent option.
- some output clean-up (still work to do)
-- r5898
+- r5899
-------------------------------------------------------------------
Tue Jul 3 13:34:09 CEST 2007 - jkupec@suse.cz
;
if (gopts.count("silent")) {
- gSettings.verbose = -1;
- DBG << "Verbosity " << gSettings.verbose << endl;
+ gSettings.verbosity = -1;
+ DBG << "Verbosity " << gSettings.verbosity << endl;
}
if (gopts.count("verbose")) {
- gSettings.verbose += gopts["verbose"].size();
- cout << _("Verbosity ") << gSettings.verbose << endl;
- DBG << _("Verbosity ") << gSettings.verbose << endl;
+ gSettings.verbosity += gopts["verbose"].size();
+ cout << _("Verbosity ") << gSettings.verbosity << endl;
+ DBG << _("Verbosity ") << gSettings.verbosity << endl;
}
if (gopts.count("non-interactive")) {
{
Settings()
: previous_token(RANDOM_TOKEN),
- verbose(0),
+ verbosity(0),
previous_code(-1),
disable_system_sources(false),
disable_system_resolvables(false),
* <li> 2 debug</li>
* </ul>
*/
- int verbose;
+ int verbosity;
int previous_code;
std::string command;
bool disable_system_sources;
* Macro to filter output above the current verbosity level.
*
* \see Output Macros
- * \see Settings::verbose
+ * \see Settings::verbosity
*/
-#define COND_STREAM(STREAM,LEVEL) ((gSettings.verbose >= LEVEL) ? STREAM : no_stream)
+#define COND_STREAM(STREAM,LEVEL) ((gSettings.verbosity >= LEVEL) ? STREAM : no_stream)
/** \name Output Macros
* Alway use these macros to produce output so that the verbosity options