We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3ad635 + b8e12ca commit da4f4b1Copy full SHA for da4f4b1
Snaffler/Config.cs
@@ -25,7 +25,7 @@ public static Options Parse(string[] args)
25
options = ParseImpl(args);
26
if (options == null)
27
{
28
- throw new ArgumentException("Unable to correctly parse arguments.");
+ return null;
29
}
30
31
catch
Snaffler/SnaffleRunner.cs
@@ -54,6 +54,12 @@ public void Run(string[] args)
54
// parse cli opts in
55
Options = Config.Parse(args);
56
57
+ if (Options == null)
58
+ {
59
+ // bail out because the user was just running help
60
+ return;
61
+ }
62
+
63
// set up the TSV output if the flag is set
64
if (Options.LogTSV)
65
0 commit comments