]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Document -j and -J. List -h in the usage message.
authorGuy Harris <[email protected]>
Mon, 23 Aug 2010 22:30:56 +0000 (15:30 -0700)
committerGuy Harris <[email protected]>
Mon, 23 Aug 2010 22:31:48 +0000 (15:31 -0700)
tcpdump.1.in
tcpdump.c

index 3f31e85bfc0af9acfd87f18db93c588192d5462d..a3a6daa01da3839d27ee93012110f669aa59ae36 100644 (file)
@@ -29,7 +29,7 @@ tcpdump \- dump traffic on a network
 .na
 .B tcpdump
 [
-.B \-AbdDefhIKlLnNOpqRStuUvxX
+.B \-AbdDefhIJKlLnNOpqRStuUvxX
 ] [
 .B \-B
 .I buffer_size
@@ -56,6 +56,10 @@ tcpdump \- dump traffic on a network
 .I interface
 ]
 [
+.B \-j
+.I tstamp_type
+]
+[
 .B \-m
 .I module
 ]
@@ -362,6 +366,14 @@ monitor mode will be shown; if
 is specified, only those link-layer types available when in monitor mode
 will be shown.
 .TP
+.B \-j
+Set the time stamp type for the capture to \fItstamp_type\fP.
+.TP
+.B \-J
+List the supported time stamp types for the interface and exit.  If the
+time stamp type cannot be set for the interface, no time stamp types are
+listed.
+.TP
 .B \-K
 Don't attempt to verify IP, TCP, or UDP checksums.  This is useful for
 interfaces that perform some or all of those checksum calculation in
index e24802f1091d7d67adcaf1f82d9ffa11afb2b7a4..7eb3d592ea8b6f37da177359cd4232af5916d00b 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -1860,7 +1860,7 @@ usage(void)
 #endif /* WIN32 */
 #endif /* HAVE_PCAP_LIB_VERSION */
        (void)fprintf(stderr,
-"Usage: %s [-aAbd" D_FLAG "ef" I_FLAG J_FLAG "KlLnNOpqRStu" U_FLAG "vxX]" B_FLAG_USAGE " [ -c count ]\n", program_name);
+"Usage: %s [-aAbd" D_FLAG "efh" I_FLAG J_FLAG "KlLnNOpqRStu" U_FLAG "vxX]" B_FLAG_USAGE " [ -c count ]\n", program_name);
        (void)fprintf(stderr,
 "\t\t[ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ]\n");
        (void)fprintf(stderr,