Skip to content

Commit

Permalink
change the default log verbosity to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fmang committed Mar 3, 2018
1 parent 794a48e commit dc477fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions share/man/oshu.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ just have to unzip them into a sub-directory. Be careful though, it won't
create the sub-directory by itself if you naively unzip it.
.TP
\fB\-v, \-\-verbose\fR
Increase the verbosity. This will print debugging messages, which may contain
useful information for understanding errors when fixing issues. Mention it
twice and you'll get verbose debugging messages.
Increase the verbosity. This will print more informational messages, which may
contain useful information for understanding errors when fixing issues. Mention
it twice and you'll get debugging messages. Thrice at your own risks.
.TP
\fB\-h, \-\-help\fR
Show a brief help message and exit.
Expand Down
2 changes: 1 addition & 1 deletion src/oshu/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int main(int argc, char **argv)
{
int autoplay = 0;
int pause = 0;
int verbosity = SDL_LOG_PRIORITY_INFO;
int verbosity = SDL_LOG_PRIORITY_WARNING;

for (;;) {
int c = getopt_long(argc, argv, flags, options, NULL);
Expand Down

0 comments on commit dc477fe

Please sign in to comment.