Commit 9ba2bf9c authored by Romain Bignon's avatar Romain Bignon

update usage() output

parent fcbaa062
......@@ -105,12 +105,12 @@ static void print_progress(float x, float tot)
static void usage(const char* progname, int is_help)
{
FILE* f;
if (is_help)
if (!is_help)
f = stderr;
else
f = stdout;
fprintf(f, "Usage: %s [-h] [-j <nprocess>] [-o <filename>] [-q] [-n <nickname>] [-e <event>] logsfiles ...\n", progname);
fprintf(f, "Usage: %s [-h] [-j <nprocess>] [-o <filename>] [-f <fontpath>] [-q] [-n <nickname>] [-e <event>] logsfiles ...\n", progname);
if (is_help)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment