Print help text when the -h or --help flag is passed.
This commit is contained in:
parent
ebb608bba5
commit
a8585c8230
6
server.d
6
server.d
|
@ -59,6 +59,12 @@ int main(string[] args)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (help)
|
||||||
|
{
|
||||||
|
printHelp(args[0]);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
importPaths ~= loadConfiguredImportDirs();
|
importPaths ~= loadConfiguredImportDirs();
|
||||||
|
|
||||||
auto socket = new TcpSocket(AddressFamily.INET);
|
auto socket = new TcpSocket(AddressFamily.INET);
|
||||||
|
|
Loading…
Reference in New Issue