Commit 4bdfb405 authored by Jason Williams's avatar Jason Williams Committed by GitHub
Browse files

Merge pull request #114 from valderra-jpl/master

Fix typo in command line argument parsing.
parents 23d98f72 7864cafd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ namespace TestApp
            for (int i = 0; i < args.Length; i++)
            {
                string arg = args[i].ToLower();
                if (!arg.StartsWith("/'") && !arg.StartsWith("-"))
                if (!arg.StartsWith("/") && !arg.StartsWith("-"))
                {
                    throw new Exception(string.Format("Unrecognized argument: {0}", args[i]));
                }
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ namespace TestAppHL
            for (int i = 0; i < args.Length; i++)
            {
                string arg = args[i].ToLower();
                if (!arg.StartsWith("/'") && !arg.StartsWith("-"))
                if (!arg.StartsWith("/") && !arg.StartsWith("-"))
                {
                    throw new Exception(string.Format("Unrecognized argument: {0}", args[i]));
                }
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ namespace TestAppIoT
            for (int i = 0; i < args.Length; i++)
            {
                string arg = args[i].ToLower();
                if (!arg.StartsWith("/'") && !arg.StartsWith("-"))
                if (!arg.StartsWith("/") && !arg.StartsWith("-"))
                {
                    throw new Exception(string.Format("Unrecognized argument: {0}", args[i]));
                }