feat: print version number

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2025-05-13 19:39:34 +02:00
commit 01fc724876
No known key found for this signature in database
GPG key ID: 4A81C29F63464E8F

View file

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