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]);