diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2003-12-09 05:56:31 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2003-12-09 05:56:31 +0000 |
commit | c7cee4331f5586c7987a82caaf93351f07ec288e (patch) | |
tree | 112483260f3d6e31184a3da0f9bb50ee5619898a /tethereal.c | |
parent | 8ce34a3cbd1ef8025d033a603d57e1147059d19e (diff) |
-Tpdml and -Tps force -V. Thus, -V is no longer required when using -Tpdml.
Eventually, -Tps will not force -V, and will print summaries when -V is
not selected. However, work still has to be done there.
svn path=/trunk/; revision=9218
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tethereal.c b/tethereal.c index f5a8f2e0d2..cbe7b2cb94 100644 --- a/tethereal.c +++ b/tethereal.c @@ -1,6 +1,6 @@ /* tethereal.c * - * $Id: tethereal.c,v 1.207 2003/12/06 06:09:10 gram Exp $ + * $Id: tethereal.c,v 1.208 2003/12/09 05:56:30 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1233,13 +1233,9 @@ main(int argc, char *argv[]) } } - /* If printing PDML or PostScript, for the time-being, we require -V */ - if (print_format == PR_FMT_PDML || print_format == PR_FMT_PS) { - if (! verbose) { - fprintf(stderr, "tethereal: Using -Tps or -Tpdml requires -V\n"); - exit(1); - } - } + /* If printing PDML or PS, force -V */ + if (print_format == PR_FMT_PDML || PR_FMT_PS) + verbose = TRUE; /* If no capture filter or read filter has been specified, and there are still command-line arguments, treat them as the tokens of a capture |