Skip to content

Commit

Permalink
Fix Issue 16593 - Building "tools" produces deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow authored and wilzbach committed Oct 10, 2016
1 parent 05f37ce commit 6a25720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dget.d
Expand Up @@ -15,15 +15,15 @@ void usage()

int main(string[] args)
{
if (args.length == 1) return usage(), 1;
if (args.length == 1) { usage(); return 1; }

import std.getopt;
bool clone, help;
getopt(args,
"clone|c", &clone,
"help|h", &help);

if (help) return usage(), 0;
if (help) { usage(); return 0; }

import std.typetuple;
string user, repo;
Expand Down

0 comments on commit 6a25720

Please sign in to comment.