summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 9fb1e0fee..9b917a34b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -122,6 +122,9 @@ fn main() {
.about("Prints time in milliseconds")
.settings(&[AppSettings::Hidden]),
)
+ .subcommand(
+ SubCommand::with_name("explain").about("Explains the currently showing modules"),
+ )
.get_matches();
match matches.subcommand() {
@@ -157,6 +160,7 @@ fn main() {
None => println!("{}", -1),
}
}
+ ("explain", Some(sub_m)) => print::explain(sub_m.clone()),
_ => {}
}
}