Fixed a small bug where -h would be interpreted as a url
This commit is contained in:
parent
00071051d3
commit
9191b2af24
@ -30,6 +30,13 @@ void main(string[] args)
|
|||||||
|
|
||||||
if(args.length == 2)
|
if(args.length == 2)
|
||||||
{
|
{
|
||||||
|
// -h arg
|
||||||
|
if(args[1] == "-h")
|
||||||
|
{
|
||||||
|
printHelp();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Direct link was supplied
|
// Direct link was supplied
|
||||||
string url = args[1];
|
string url = args[1];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user