Skip to content

Commit 26330df

Browse files
committed
Adds default to equals for better compatibility
1 parent 4fdf348 commit 26330df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Options:
3030
--help Show command line help.
3131
--ignore-certificate Prevents server certificate validation.
3232
--json Renders the content arguments as application/json.
33-
--timeout <VALUE> Sets the timeout of the request using System.TimeSpan.TryParse (https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse)
33+
--timeout=<VALUE> Sets the timeout of the request using System.TimeSpan.TryParse (https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse)
3434
--version Displays the application verison.
35-
--xml <ROOT_NAME> Renders the content arguments as application/xml using the optional xml root name.
35+
--xml=<ROOT_NAME> Renders the content arguments as application/xml using the optional xml root name.
3636

3737
Content:
3838
Repeat as many content arguments to create content sent with the HTTP request. Alternatively pipe raw content send as the HTTP request content.

src/https/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@ public static IEnumerable<string> GetOptionHelp()
371371
yield return "--help Show command line help.";
372372
yield return "--ignore-certificate Prevents server certificate validation.";
373373
yield return "--json Renders the content arguments as application/json.";
374-
yield return "--timeout <VALUE> Sets the timeout of the request using System.TimeSpan.TryParse (https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse)";
374+
yield return "--timeout=<VALUE> Sets the timeout of the request using System.TimeSpan.TryParse (https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse)";
375375
yield return "--version Displays the application verison.";
376-
yield return "--xml <ROOT_NAME> Renders the content arguments as application/xml using the optional xml root name.";
376+
yield return "--xml=<ROOT_NAME> Renders the content arguments as application/xml using the optional xml root name.";
377377
}
378378

379379
static int GetArgValueIndex(string arg)

0 commit comments

Comments
 (0)