Merge pull request #46 from jacob-carlborg/help

Print help text when the -h or --help flag is passed.
This commit is contained in:
Hackerpilot 2013-09-15 13:50:36 -07:00
commit 5076956d43
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,12 @@ int main(string[] args)
return 1;
}
if (help)
{
printHelp(args[0]);
return 0;
}
importPaths ~= loadConfiguredImportDirs();
auto socket = new TcpSocket(AddressFamily.INET);