Not suitable for stellar cartography

This commit is contained in:
Hackerpilot 2015-04-13 16:42:46 -07:00
parent 2633834e64
commit 5e24ca4a7e
1 changed files with 9 additions and 1 deletions

View File

@ -61,6 +61,7 @@ int run(string[] args)
string symbolName; string symbolName;
string configLocation; string configLocation;
bool printVersion; bool printVersion;
bool explore;
try try
{ {
@ -71,7 +72,7 @@ int run(string[] args)
"tokenDump", &tokenDump, "styleCheck|S", &styleCheck, "tokenDump", &tokenDump, "styleCheck|S", &styleCheck,
"defaultConfig", &defaultConfig, "declaration|d", &symbolName, "defaultConfig", &defaultConfig, "declaration|d", &symbolName,
"config", &configLocation, "report", &report, "config", &configLocation, "report", &report,
"version", &printVersion, "muffinButton", &muffin); "version", &printVersion, "muffinButton", &muffin, "explore", &explore);
} }
catch (ConvException e) catch (ConvException e)
{ {
@ -94,6 +95,13 @@ int run(string[] args)
return 0; return 0;
} }
if (explore)
{
stdout.writeln("D-Scanner: Scanning...");
stderr.writeln("D-Scanner: No new astronomical objects discovered.");
return 1;
}
if (help) if (help)
{ {
printHelp(args[0]); printHelp(args[0]);