Not suitable for stellar cartography
This commit is contained in:
parent
2633834e64
commit
5e24ca4a7e
10
src/main.d
10
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]);
|
||||
|
|
Loading…
Reference in New Issue