From fa920e48ed72ab076c6c6a9b8e8264e1b05c1707 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Tue, 12 May 2009 16:06:14 +0000 Subject: Minor cleanup of "-h" output text. svn path=/trunk/; revision=28334 --- mergecap.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'mergecap.c') diff --git a/mergecap.c b/mergecap.c index 5b0aa95235..89e9740804 100644 --- a/mergecap.c +++ b/mergecap.c @@ -95,22 +95,22 @@ usage(void) fprintf(stderr, "Merge two or more capture files into one.\n"); fprintf(stderr, "See http://www.wireshark.org for more information.\n"); fprintf(stderr, "\n"); - fprintf(stderr, "Usage: mergecap [options] -w ...\n"); + fprintf(stderr, "Usage: mergecap [options] -w |- ...\n"); fprintf(stderr, "\n"); fprintf(stderr, "Output:\n"); - fprintf(stderr, " -a files should be concatenated, not merged\n"); - fprintf(stderr, " Default merges based on frame timestamps\n"); - fprintf(stderr, " -s truncate packets to bytes of data\n"); - fprintf(stderr, " -w set the output filename to or '-' for stdout\n"); - fprintf(stderr, " -F set the output file type, default is libpcap\n"); - fprintf(stderr, " an empty \"-F\" option will list the file types\n"); - fprintf(stderr, " -T set the output file encapsulation type,\n"); - fprintf(stderr, " default is the same as the first input file\n"); - fprintf(stderr, " an empty \"-T\" option will list the encapsulation types\n"); + fprintf(stderr, " -a concatenate rather than merge files.\n"); + fprintf(stderr, " default is to merge based on frame timestamps.\n"); + fprintf(stderr, " -s truncate packets to bytes of data.\n"); + fprintf(stderr, " -w |- set the output filename to or '-' for stdout.\n"); + fprintf(stderr, " -F set the output file type; default is libpcap.\n"); + fprintf(stderr, " an empty \"-F\" option will list the file types.\n"); + fprintf(stderr, " -T set the output file encapsulation type;\n"); + fprintf(stderr, " default is the same as the first input file.\n"); + fprintf(stderr, " an empty \"-T\" option will list the encapsulation types.\n"); fprintf(stderr, "\n"); fprintf(stderr, "Miscellaneous:\n"); - fprintf(stderr, " -h display this help and exit\n"); - fprintf(stderr, " -v verbose output\n"); + fprintf(stderr, " -h display this help and exit.\n"); + fprintf(stderr, " -v verbose output.\n"); } static void list_capture_types(void) { -- cgit v1.2.1