Преглед изворни кода

Fixed a small bug where -h would be interpreted as a url

master
Beepboop Belong the 3rd пре 4 година
родитељ
комит
9191b2af24
Signed by: beepboopbelong <beepboopbelong@firemail.cc> GPG Key ID: B873A12869A7BD29
1 измењених фајлова са 7 додато и 0 уклоњено
  1. +7
    -0
      source/app.d

+ 7
- 0
source/app.d Прегледај датотеку

@@ -30,6 +30,13 @@ void main(string[] args)

if(args.length == 2)
{
// -h arg
if(args[1] == "-h")
{
printHelp();
return;
}

// Direct link was supplied
string url = args[1];



Loading…
Откажи
Сачувај