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

This commit is contained in:
Beepboop Belong the 3rd 2020-04-13 19:47:10 +02:00
parent 00071051d3
commit 9191b2af24
Signed by: beepboopbelong
GPG Key ID: B873A12869A7BD29

View File

@ -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];