Merge pull request #8 from kesselb/add-version-number
Some checks failed
CI / matrix (push) Failing after 2s
CI / (push) Has been skipped
CI / build (push) Has been skipped
CI / build-nixpkgs (push) Has been skipped

feat: print version number
This commit is contained in:
Robin Appelman 2025-05-14 14:34:33 +02:00 committed by GitHub
commit 0904424bac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,7 @@ use time::format_description::{parse_owned, parse_strftime_owned};
static GLOBAL: Jemalloc = Jemalloc;
#[derive(Debug, Parser)]
#[command(version, about, long_about = None)]
struct Args {
file: String,
/// Collect data and exit, intended for profiling