From 9580f0d0943000f3a3bbd7fd9b02b55de23db664 Mon Sep 17 00:00:00 2001 From: Lucas Weng Date: Tue, 13 Sep 2022 22:35:36 +0800 Subject: [PATCH] Add version flag to cli --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 79886e02..e62f588c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,7 +12,7 @@ use std::{ffi, fs, io, path, path::Path}; static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc; #[derive(Parser, Debug)] -#[clap(author, about, long_about = None)] +#[clap(author, version, about, long_about = None)] struct CliArgs { /// Target CSS file #[clap(value_parser)]