aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/Cargo.toml2
-rw-r--r--bin/src/config.rs3
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"
3version = "0.2.4" 3version = "0.2.4"
4edition = "2018" 4edition = "2018"
5license = "MIT" 5license = "MIT"
6authors = [ "Akshay <[email protected]>" ]
7description = "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
12use crate::err::ConfigErr; 12use 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)]
17pub struct Opts { 16pub struct Opts {
18 #[clap(subcommand)] 17 #[clap(subcommand)]
19 pub cmd: SubCommand, 18 pub cmd: SubCommand,