diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-06-09 07:54:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-06-09 07:54:11 +0000 |
commit | ecf87b705c2ffcf36a7c745958a72b25906ed3d4 (patch) | |
tree | 7675f7996db79b00c1abdae17c4c912e1e8f67ad /gtk/main.c | |
parent | 5e1c267688853bd78d63b7478f93a8edcbda9c11 (diff) |
Clean up the usage message a bit (using the convention, adhered to by at
least some UNIX utilities, of listing all the flags with no arguments in
a single lump, and then listing the ones with arguments individually;
also, make lines as long as possible, as long as they fit in 80 columns).
svn path=/trunk/; revision=7815
Diffstat (limited to 'gtk/main.c')
-rw-r--r-- | gtk/main.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gtk/main.c b/gtk/main.c index 46e3acb1aa..e0fe09d081 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.296 2003/06/08 09:12:23 oabad Exp $ + * $Id: main.c,v 1.297 2003/06/09 07:54:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1178,23 +1178,21 @@ print_usage(gboolean print_ver) { comp_info_str->str, runtime_info_str->str); } #ifdef HAVE_LIBPCAP - fprintf(stderr, "\n%s [ -vh ] [ -klpQS ] [ -a <capture autostop condition> ] ...\n", + fprintf(stderr, "\n%s [ -vh ] [ -klnpQS ] [ -a <capture autostop condition> ] ...\n", PACKAGE); fprintf(stderr, "\t[ -b <number of ringbuffer files>[:<duration>] ]\n"); - fprintf(stderr, "\t[ -B <byte view height> ]\n"); - fprintf(stderr, "\t[ -c <count> ] [ -f <capture filter> ] [ -i <interface> ]\n"); - fprintf(stderr, "\t[ -m <medium font> ] [ -n ] [ -N <resolving> ]\n"); + fprintf(stderr, "\t[ -B <byte view height> ] [ -c <count> ] [ -f <capture filter> ]\n"); + fprintf(stderr, "\t[ -i <interface> ] [ -m <medium font> ] [ -N <resolving> ]\n"); fprintf(stderr, "\t[ -o <preference setting> ] ... [ -P <packet list height> ]\n"); fprintf(stderr, "\t[ -r <infile> ] [ -R <read filter> ] [ -s <snaplen> ] \n"); fprintf(stderr, "\t[ -t <time stamp format> ] [ -T <tree view height> ]\n"); fprintf(stderr, "\t[ -w <savefile> ] [ <infile> ]\n"); #else - fprintf(stderr, "\n%s [ -vh ] [ -B <byte view height> ] [ -m <medium font> ]\n", + fprintf(stderr, "\n%s [ -vh ] [ -n ] [ -B <byte view height> ] [ -m <medium font> ]\n", PACKAGE); - fprintf(stderr, "\t[ -n ] [ -N <resolving> ]\n"); - fprintf(stderr, "\t[ -o <preference setting> ... [ -P <packet list height> ]\n"); - fprintf(stderr, "\t[ -r <infile> ] [ -R <read filter> ] [ -t <time stamp format> ]\n"); - fprintf(stderr, "\t[ -T <tree view height> ] [ <infile> ]\n"); + fprintf(stderr, "\t[ -N <resolving> ] [ -o <preference setting> ...\n"); + fprintf(stderr, "\t[ -P <packet list height> ] [ -r <infile> ] [ -R <read filter> ]\n"); + fprintf(stderr, "\t[ -t <time stamp format> ] [ -T <tree view height> ] [ <infile> ]\n"); #endif } |