From 87fb416ac8828d07fdf23a2c0d35d88efafce2af Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sun, 12 Jul 2026 14:50:24 -0500 Subject: [PATCH] usbdump: add -t to omit timestamps Matches tcpdump naming, but without getting more intense as you add more -t. This slightly reduces the post-processing needed on usbdump output to diff two transactions. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D58196 --- usr.sbin/usbdump/usbdump.8 | 9 +++++++-- usr.sbin/usbdump/usbdump.c | 35 ++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/usr.sbin/usbdump/usbdump.8 b/usr.sbin/usbdump/usbdump.8 index 96be9f738e2d..3c50f54d081e 100644 --- a/usr.sbin/usbdump/usbdump.8 +++ b/usr.sbin/usbdump/usbdump.8 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 14, 2021 +.Dd July 12, 2026 .Dt USBDUMP 8 .Os .Sh NAME @@ -37,6 +37,7 @@ .Op Fl i Ar ifname .Op Fl r Ar file .Op Fl s Ar snaplen +.Op Fl t .Op Fl u .Op Fl v .Op Fl w Ar file @@ -90,6 +91,8 @@ This option also works with the -f option. Snapshot .Ar snaplen bytes from each packet. +.It Fl t +Do not print packet timestamps. .It Fl u Unbuffered output. .It Fl v @@ -140,7 +143,9 @@ is as follows: The meaning of the output format elements is as follows: .Bl -tag -width "" .It