Skip to content

Commit

Permalink
Merge pull request #201 from CyberShadow/pull-20161004-212702
Browse files Browse the repository at this point in the history
Fix Issue 16593 - Building "tools" produces deprecation warnings
  • Loading branch information
wilzbach authored Oct 10, 2016
2 parents 05f37ce + 6a25720 commit 3a32331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dget.d
Original file line number Diff line number Diff line change
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 3a32331

Please sign in to comment.