From 44fce04a87d51c5c51d4235bb838259ccbf4fd05 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 10 Aug 2022 00:33:45 +0200 Subject: [PATCH] Include version in clap output --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index fef3cef..e940e5e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,6 +57,7 @@ impl Default for Command { } #[derive(Debug, clap::Parser)] +#[clap(version)] struct Args { /// Path to a directory for cove to store its data in. #[clap(long, short)]