Skip to content

Commit 472e0ad

Browse files
Fixes checking valid args. Closes #335 (#337)
1 parent df5e7b6 commit 472e0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m365-developer-proxy/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
string[] globalOptions = { "--version", "--help", "-h", "/h", "-?", "/?" };
2424

2525
// filter args to retrieve options
26-
var incomingOptions = args.Where(arg => arg.StartsWith("-") || arg.StartsWith("/")).ToArray();
26+
var incomingOptions = args.Where(arg => arg.StartsWith("-")).ToArray();
2727

2828
// remove the global options from the incoming options
2929
incomingOptions = incomingOptions.Except(globalOptions).ToArray();

0 commit comments

Comments
 (0)