From 5e24ca4a7eddd99e365e0477b605f965b1957ea4 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Mon, 13 Apr 2015 16:42:46 -0700 Subject: [PATCH] Not suitable for stellar cartography --- src/main.d | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main.d b/src/main.d index f43d363..95dde3a 100644 --- a/src/main.d +++ b/src/main.d @@ -61,6 +61,7 @@ int run(string[] args) string symbolName; string configLocation; bool printVersion; + bool explore; try { @@ -71,7 +72,7 @@ int run(string[] args) "tokenDump", &tokenDump, "styleCheck|S", &styleCheck, "defaultConfig", &defaultConfig, "declaration|d", &symbolName, "config", &configLocation, "report", &report, - "version", &printVersion, "muffinButton", &muffin); + "version", &printVersion, "muffinButton", &muffin, "explore", &explore); } catch (ConvException e) { @@ -94,6 +95,13 @@ int run(string[] args) return 0; } + if (explore) + { + stdout.writeln("D-Scanner: Scanning..."); + stderr.writeln("D-Scanner: No new astronomical objects discovered."); + return 1; + } + if (help) { printHelp(args[0]);