aboutsummaryrefslogtreecommitdiff
path: root/bin/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r--bin/src/config.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs
index 29b6c9e..0f09618 100644
--- a/bin/src/config.rs
+++ b/bin/src/config.rs
@@ -31,6 +31,8 @@ pub enum SubCommand {
31 Explain(Explain), 31 Explain(Explain),
32 /// Dump a sample config to stdout 32 /// Dump a sample config to stdout
33 Dump(Dump), 33 Dump(Dump),
34 /// List all available lints
35 List(List),
34} 36}
35 37
36#[derive(Parser, Debug)] 38#[derive(Parser, Debug)]
@@ -205,6 +207,9 @@ pub struct Explain {
205#[derive(Parser, Debug)] 207#[derive(Parser, Debug)]
206pub struct Dump {} 208pub struct Dump {}
207 209
210#[derive(Parser, Debug)]
211pub struct List {}
212
208#[derive(Debug, Copy, Clone)] 213#[derive(Debug, Copy, Clone)]
209pub enum OutFormat { 214pub enum OutFormat {
210 #[cfg(feature = "json")] 215 #[cfg(feature = "json")]