Fix Issue 16593 - Building "tools" produces deprecation warnings

This commit is contained in:
Vladimir Panteleev 2016-10-04 21:27:03 +00:00 committed by Sebastian Wilzbach
parent 05f37ce731
commit 6a257202a1

4
dget.d
View file

@ -15,7 +15,7 @@ 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;
@ -23,7 +23,7 @@ int main(string[] args)
"clone|c", &clone,
"help|h", &help);
if (help) return usage(), 0;
if (help) { usage(); return 0; }
import std.typetuple;
string user, repo;