You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -379,6 +399,7 @@ public static IEnumerable<string> GetOptionHelp()
379
399
yieldreturn"--timeout=<VALUE> Sets the timeout of the request using System.TimeSpan.TryParse (https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse)";
380
400
yieldreturn"--version Displays the application verison.";
381
401
yieldreturn"--xml=<ROOT_NAME> Renders the content arguments as application/xml using the optional xml root name.";
402
+
yieldreturn"--stop-auto-redirects Prevents redirects from automatically being processed.";
382
403
}
383
404
384
405
staticintGetArgValueIndex(stringarg)
@@ -400,6 +421,7 @@ public static Options Parse(IEnumerable<string> args)
400
421
vartimeout=default(TimeSpan?);
401
422
varhelp=false;
402
423
varversion=false;
424
+
varstopAutoRedirects=false;
403
425
foreach(vararginargs)
404
426
{
405
427
if(arg.StartsWith("--json"))
@@ -451,8 +473,12 @@ public static Options Parse(IEnumerable<string> args)
0 commit comments