From 9ee7aaebd8e3c8586461a48181cd9dad31d1c7a1 Mon Sep 17 00:00:00 2001 From: Assaf Morami Date: Thu, 14 Nov 2024 16:50:49 +0200 Subject: [PATCH] changelog --- CHANGELOG.md | 4 ++++ main.go | 13 +++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2117eed..e6b3a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.11.0 (Nov 14, 2024) + +- add flag -p for timestamp precision in nanoseconds + ## v0.10.2 (Apr 18, 2020) - use ZeroCopyReadPacketData which is much faster than ReadPacketData diff --git a/main.go b/main.go index 2b14f2e..df35e26 100644 --- a/main.go +++ b/main.go @@ -4,13 +4,14 @@ // joincap [OPTIONS] InFiles... // // Application Options: -// -v, --verbose Explain when skipping packets or entire input files -// -V, --version Print the version and exit -// -w= Sets the output filename. If the name is '-', stdout will be used (default: -) +// -v, --verbose Explain when skipping packets or input files +// -V, --version Print the version and exit +// -p=[micros|nanos] Sets timestamp precision (default: micros) +// -w= Sets the output filename. If the name is '-', stdout will be used (default: -) +// -c= A positive integer argument for limiting the number of packets (default: 9223372036854775807) // -// -c= A positive integer argument for limiting the number of packets (default: 9223372036854775807) -// Help Options: -// -h, --help Show this help message +// Help Options: +// -h, --help Show this help message package main import (