summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 6a75b5da..e422f565 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -43,6 +43,13 @@ impl<'a> CliConfig<'a> {
}
/**
+ * Check whether the CLI says we should run with reporting
+ */
+ pub fn report_exit(&self) -> bool {
+ self.cli_matches.is_present("report")
+ }
+
+ /**
* Get the runtime path the CLI configured
*/
pub fn get_rtp(&self) -> Option<String> {