Browse Source

Display error message if no filenames have been specified.

tags/v0.1
Starbeamrainbowlabs 3 years ago
parent
commit
b7c269acea
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      SpritePacker/Program.cs

+ 5
- 0
SpritePacker/Program.cs View File

@@ -52,6 +52,11 @@ namespace SpritePacker
switch(programMode)
{
case ProgramMode.Normal:
if(values.Count == 0)
{
Console.Error.WriteLine("Error: No filenames specified!");
return 1;
}
RunNormal();
break;
case ProgramMode.DisplayHelpText:

Loading…
Cancel
Save