Commit d4118cbf authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Update the test file with the possibility to manage multiple parameters

parent edf8657d
Display help:
usage: t_parse_args [-f] [-s string] string [string]
usage: t_parse_args [-f] [-s string] string [string] [string]
Program to show how to parse arguments.
positional arguments:
string Required parameter
string Show how to accept simple text as option
string Show how to accept multiple parameters
optional arguments:
-f, --flag Show how to read a flag
......@@ -17,3 +18,4 @@ Parsed arguments:
- The flag is not activated.
- The first argument is: 'arg1'
- The optional argument is: 'arg2'
- The list of parameters is:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment