diff options
-rw-r--r-- | dumpcap.c | 9 | ||||
-rw-r--r-- | editcap.c | 2 | ||||
-rw-r--r-- | mergecap.c | 2 | ||||
-rw-r--r-- | tshark.c | 2 |
4 files changed, 8 insertions, 7 deletions
@@ -364,7 +364,7 @@ print_usage(gboolean print_ver) output = stdout; fprintf(output, "Dumpcap " VERSION "%s\n" - "Capture network packets and dump them into a libpcap file.\n" + "Capture network packets and dump them into a pcapng file.\n" "See http://www.wireshark.org for more information.\n", wireshark_svnversion); } else { @@ -415,7 +415,8 @@ print_usage(gboolean print_ver) fprintf(output, " -b <ringbuffer opt.> ... duration:NUM - switch to next file after NUM secs\n"); fprintf(output, " filesize:NUM - switch to next file after NUM KB\n"); fprintf(output, " files:NUM - ringbuffer: replace after NUM files\n"); - fprintf(output, " -n use pcapng format instead of pcap\n"); + fprintf(output, " -n use pcapng format instead of pcap (default)\n"); + fprintf(output, " -P use libpcap format instead of pcapng\n"); fprintf(output, "\n"); fprintf(output, "Miscellaneous:\n"); fprintf(output, " -t use a separate thread per interface\n"); @@ -423,8 +424,8 @@ print_usage(gboolean print_ver) fprintf(output, " -v print version information and exit\n"); fprintf(output, " -h display this help and exit\n"); fprintf(output, "\n"); - fprintf(output, "Example: dumpcap -i eth0 -a duration:60 -w output.pcap\n"); - fprintf(output, "\"Capture network packets from interface eth0 until 60s passed into output.pcap\"\n"); + fprintf(output, "Example: dumpcap -i eth0 -a duration:60 -w output.pcapng\n"); + fprintf(output, "\"Capture network packets from interface eth0 until 60s passed into output.pcapng\"\n"); fprintf(output, "\n"); fprintf(output, "Use Ctrl-C to stop capturing at any time.\n"); } @@ -723,7 +723,7 @@ usage(gboolean is_error) fprintf(output, " -i <seconds per file> split the packet output to different files\n"); fprintf(output, " based on uniform time intervals\n"); fprintf(output, " with a maximum of <seconds per file> each.\n"); - fprintf(output, " -F <capture type> set the output file type; default is libpcap.\n"); + fprintf(output, " -F <capture type> set the output file type; default is pcapng.\n"); fprintf(output, " an empty \"-F\" option will list the file types.\n"); fprintf(output, " -T <encap type> set the output file encapsulation type;\n"); fprintf(output, " default is the same as the input file.\n"); diff --git a/mergecap.c b/mergecap.c index bb95f2aaf3..db3873ef86 100644 --- a/mergecap.c +++ b/mergecap.c @@ -124,7 +124,7 @@ usage(void) fprintf(stderr, " default is to merge based on frame timestamps.\n"); fprintf(stderr, " -s <snaplen> truncate packets to <snaplen> bytes of data.\n"); fprintf(stderr, " -w <outfile>|- set the output filename to <outfile> or '-' for stdout.\n"); - fprintf(stderr, " -F <capture type> set the output file type; default is libpcap.\n"); + fprintf(stderr, " -F <capture type> set the output file type; default is pcapng.\n"); fprintf(stderr, " an empty \"-F\" option will list the file types.\n"); fprintf(stderr, " -T <encap type> set the output file encapsulation type;\n"); fprintf(stderr, " default is the same as the first input file.\n"); @@ -291,7 +291,7 @@ print_usage(gboolean print_ver) fprintf(output, " -w <outfile|-> write packets to a pcap-format file named \"outfile\"\n"); fprintf(output, " (or to the standard output for \"-\")\n"); fprintf(output, " -C <config profile> start with specified configuration profile\n"); - fprintf(output, " -F <output file type> set the output file type, default is libpcap\n"); + fprintf(output, " -F <output file type> set the output file type, default is pcapng\n"); fprintf(output, " an empty \"-F\" option will list the file types\n"); fprintf(output, " -V add output of packet tree (Packet Details)\n"); fprintf(output, " -O <protocols> Only show packet details of these protocols, comma\n"); |