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/Cargo.toml | 2 ++ bin/src/config.rs | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/Cargo.toml b/bin/Cargo.toml index 92463bc..3bbc532 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -3,6 +3,8 @@ name = "statix" version = "0.2.4" edition = "2018" license = "MIT" +authors = [ "Akshay " ] +description = "Lints and suggestions for the Nix programming language" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 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