Permalink
Browse files

Added commandline option -q to enable quiet startup (patch by Isaac G…

…ood)
  • Loading branch information...
akrennmair committed Jul 13, 2010
1 parent 921ebb0 commit de6ef19a9c0a4283b280e0aa6c3a4cc9283fc86e
Showing with 6 additions and 1 deletion.
  1. +1 −0 CHANGES
  2. +5 −1 src/controller.cpp
View
@@ -3,6 +3,7 @@ Changes for newsbeuter:
2.4:
Added support for query feeds in combination with Google Reader support.
Added ability to configure proxy authentication method.
Added commandline option -q to enable quiet startup (patch by Isaac Good)
2.3 (2010-06-24):
Fixed HTML rendering of bold and underline text when light background is configured.
View
@@ -138,7 +138,7 @@ void controller::run(int argc, char * argv[]) {
bool execute_cmds = false;
do {
if((c = ::getopt(argc,argv,"i:erhu:c:C:d:l:vVoxXI:E:"))<0)
if((c = ::getopt(argc,argv,"i:erhqu:c:C:d:l:vVoxXI:E:"))<0)
continue;
switch (c) {
case ':': /* fall-through */
@@ -189,6 +189,9 @@ void controller::run(int argc, char * argv[]) {
execute_cmds = true;
silent = true;
break;
case 'q':
silent = true;
break;
case 'd': // this is an undocumented debug commandline option!
GetLogger().set_logfile(optarg);
break;
@@ -833,6 +836,7 @@ void controller::usage(char * argv0) {
{ 'X', "", _("clean up cache thoroughly") },
{ 'x', _("<command>..."), _("execute list of commands") },
{ 'o', "", _("activate offline mode (only applies to bloglines synchronization mode)") },
{ 'q', "", _("quiet startup") },
{ 'v', "", _("get version information") },
{ 'l', _("<loglevel>"), _("write a log with a certain loglevel (valid values: 1 to 6)") },
{ 'd', _("<logfile>"), _("use <logfile> as output log file") },

0 comments on commit de6ef19

Please sign in to comment.