Skip to content

Commit

Permalink
Added arg check
Browse files Browse the repository at this point in the history
  • Loading branch information
ShujianDou authored Jul 27, 2020
1 parent 3602322 commit 36ee99b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CS/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ static class Program
static String fileDestDirectory = string.Empty;
static void Main(string[] args)
{

if(args.Length <= 0){
Console.WriteLine("You must start the program through the command prompt with arguments at this time.");
Console.ReadLine();
}
//https://hls12xx.cdnfile.info/videos/hls/mZr_AWCBU2bXDMGgJYQWTQ/1595633921/31723/1d0ec9406221a4716c721caace98412f/sub.8.m3u
wc = new WebClient();
Console.ReadLine();
Expand Down

0 comments on commit 36ee99b

Please sign in to comment.