From 6e8dd004ea6fab9be73f0c7999774b3140733ff0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 28 Oct 2021 17:23:29 +0530 Subject: fix version command not fetching latest version --- bin/src/config.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/src') diff --git a/bin/src/config.rs b/bin/src/config.rs index 79bed35..cbb1f66 100644 --- a/bin/src/config.rs +++ b/bin/src/config.rs @@ -11,9 +11,8 @@ use vfs::ReadOnlyVfs; use crate::err::ConfigErr; -/// Lints and suggestions for the Nix programming language #[derive(Clap, Debug)] -#[clap(version = "0.1.0", author = "Akshay ")] +#[clap(version, author, about)] pub struct Opts { #[clap(subcommand)] pub cmd: SubCommand, -- cgit v1.2.3