Print help to output, not to error
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 14 Jun 2006 08:12:20 +0000 (08:12 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 14 Jun 2006 08:12:20 +0000 (08:12 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18464 f5534014-38df-0310-8fa8-9805f1628bb7

capinfos.c

index 71830439ff4cced669201c891a199b2fb595b3bd..d811a6210f833a527b738627e35f061b5112b580 100644 (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");
 }