Browse Source

Correct help / version argument parsing.

tags/v0.1
Starbeamrainbowlabs 3 years ago
parent
commit
7467dd88a4
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      SpritePacker/Program.cs

+ 1
- 2
SpritePacker/Program.cs View File

@@ -17,10 +17,9 @@ namespace SpritePacker
17 17
 					case "--help":
18 18
 						Console.WriteLine("Help text coming soon!");
19 19
 						return;
20
-						break;
21 20
 					case "--version":
22 21
 						Console.WriteLine("Version text coming soon!");
23
-						break;
22
+						return;
24 23
 					default:
25 24
 						values.Add(args[i]);
26 25
 						break;

Loading…
Cancel
Save