From a11d07e3f4b5feeab7eab9044ec7690e05a99d07 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Thu, 1 Dec 2005 20:19:30 +0000 Subject: [PATCH] fix OPTINIT string, help output and add an exit_main function svn path=/trunk/; revision=16643 --- dumpcap.c | 71 ++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/dumpcap.c b/dumpcap.c index 3fe2d67743..63476bc9e1 100644 --- a/dumpcap.c +++ b/dumpcap.c @@ -92,30 +92,28 @@ print_usage(gboolean print_ver) { if (print_ver) { output = stdout; - fprintf(output, "This is "PACKAGE " " VERSION "%s" + fprintf(output, "This is dumpcap " VERSION "%s" "\n (C) 1998-2005 Gerald Combs " "\n\n%s\n\n%s\n", svnversion, comp_info_str->str, runtime_info_str->str); } else { output = stderr; } - fprintf(output, "\n%s [ -vh ] [ -klLnpQS ] [ -a ] ...\n", PACKAGE); + fprintf(output, "\n%s [ -vh ] [ -Lp ] [ -a ] ...\n", PACKAGE); fprintf(output, "\t[ -b ] ...\n"); #ifdef _WIN32 fprintf(output, "\t[ -B ]\n"); #endif fprintf(output, "\t[ -c ] [ -f ]\n"); - fprintf(output, "\t[ -g ] [ -i ] [ -m ]\n"); - fprintf(output, "\t[ -N ] [ -o ] ...\n"); - fprintf(output, "\t[ -r ] [ -R ] [ -s ]\n"); - fprintf(output, "\t[ -t