mirror of
https://github.com/dlang/tools.git
synced 2025-04-29 06:30:30 +03:00
Fix Issue 16593 - Building "tools" produces deprecation warnings
This commit is contained in:
parent
05f37ce731
commit
6a257202a1
1 changed files with 2 additions and 2 deletions
4
dget.d
4
dget.d
|
@ -15,7 +15,7 @@ void usage()
|
||||||
|
|
||||||
int main(string[] args)
|
int main(string[] args)
|
||||||
{
|
{
|
||||||
if (args.length == 1) return usage(), 1;
|
if (args.length == 1) { usage(); return 1; }
|
||||||
|
|
||||||
import std.getopt;
|
import std.getopt;
|
||||||
bool clone, help;
|
bool clone, help;
|
||||||
|
@ -23,7 +23,7 @@ int main(string[] args)
|
||||||
"clone|c", &clone,
|
"clone|c", &clone,
|
||||||
"help|h", &help);
|
"help|h", &help);
|
||||||
|
|
||||||
if (help) return usage(), 0;
|
if (help) { usage(); return 0; }
|
||||||
|
|
||||||
import std.typetuple;
|
import std.typetuple;
|
||||||
string user, repo;
|
string user, repo;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue