Skip to content

Commit

Permalink
[xharness] Backport Touch.Unit fix for command line parsing.
Browse files Browse the repository at this point in the history
Apply xamarin/Touch.Unit#78 to the duplicated file.
  • Loading branch information
rolfbjarne committed Jul 23, 2020
1 parent 3efc9ba commit eb01fff
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public ApplicationOptions ()
{ "use_tcp_tunnel", "Use a tcp tunnel to connect to the host.", v => UseTcpTunnel = true },
{ "enablenetwork", "Enable the network reporter.", v => EnableNetwork = true },
{ "transport=", "Select transport method. Either TCP (default), HTTP or FILE.", v => Transport = v },
{ "enablexml", "Enable the xml reported.", v => EnableXml = false },
{ "xmlmode", "The xml mode.", v => XmlMode = (XmlMode) Enum.Parse (typeof (XmlMode), v, false) },
{ "xmlversion", "The xml version.", v => XmlVersion = (XmlVersion) Enum.Parse (typeof (XmlVersion), v, false) },
{ "enablexml:", "Enable the xml reported.", v => EnableXml = string.IsNullOrEmpty (v) ? true : bool.Parse (v) },
{ "xmlmode=", "The xml mode.", v => XmlMode = (XmlMode) Enum.Parse (typeof (XmlMode), v, true) },
{ "xmlversion=", "The xml version.", v => XmlVersion = (XmlVersion) Enum.Parse (typeof (XmlVersion), v, true) },
{ "logfile=", "A path where output will be saved.", v => LogFile = v },
{ "result=", "The path to be used to store the result", v => ResultFile = v},
};
Expand Down

0 comments on commit eb01fff

Please sign in to comment.