diff options
author | Akshay <[email protected]> | 2021-10-28 12:53:29 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-28 12:53:29 +0100 |
commit | 6e8dd004ea6fab9be73f0c7999774b3140733ff0 (patch) | |
tree | d4c9cfc04be591a9e361cde8e73f3c3102ddeec4 | |
parent | a627799e2a0989201416a11b8d3bf1af0be86073 (diff) |
fix version command not fetching latest version
-rw-r--r-- | bin/Cargo.toml | 2 | ||||
-rw-r--r-- | bin/src/config.rs | 3 |
2 files changed, 3 insertions, 2 deletions
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" | |||
3 | version = "0.2.4" | 3 | version = "0.2.4" |
4 | edition = "2018" | 4 | edition = "2018" |
5 | license = "MIT" | 5 | license = "MIT" |
6 | authors = [ "Akshay <[email protected]>" ] | ||
7 | description = "Lints and suggestions for the Nix programming language" | ||
6 | 8 | ||
7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | 9 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
8 | 10 | ||
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; | |||
11 | 11 | ||
12 | use crate::err::ConfigErr; | 12 | use crate::err::ConfigErr; |
13 | 13 | ||
14 | /// Lints and suggestions for the Nix programming language | ||
15 | #[derive(Clap, Debug)] | 14 | #[derive(Clap, Debug)] |
16 | #[clap(version = "0.1.0", author = "Akshay <[email protected]>")] | 15 | #[clap(version, author, about)] |
17 | pub struct Opts { | 16 | pub struct Opts { |
18 | #[clap(subcommand)] | 17 | #[clap(subcommand)] |
19 | pub cmd: SubCommand, | 18 | pub cmd: SubCommand, |