This website works better with JavaScript.
Home
Explore
Help
Sign In
sbrl
/
SpritePacker
Watch
1
Star
0
Fork
0
Code
Issues
2
Pull Requests
0
Activity
Browse Source
Display error message if no filenames have been specified.
tags/v0.1
Starbeamrainbowlabs
3 years ago
parent
2470b88a55
commit
b7c269acea
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
+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:
Write
Preview
Loading…
Cancel
Save