Print help to output, not to error

svn path=/trunk/; revision=18464
This commit is contained in:
Jörg Mayer 2006-06-14 08:12:20 +00:00
parent b2fe8eb03e
commit 59c8c8065d
1 changed files with 3 additions and 3 deletions

View File

@ -237,9 +237,9 @@ static void usage(gboolean is_error)
fprintf(output, " -y display average data rate (in bytes/s)\n");
fprintf(output, " -i display average data rate (in bits/s)\n");
fprintf(output, " -z display average packet size (in bytes)\n");
fprintf(stderr, "\n");
fprintf(stderr, "Miscellaneous:\n");
fprintf(stderr, " -h display this help and exit\n");
fprintf(output, "\n");
fprintf(output, "Miscellaneous:\n");
fprintf(output, " -h display this help and exit\n");
fprintf(output, "\n");
fprintf(output, "If no options are given, default is to display all infos\n");
}