From d4118cbfd65bbb31e7d74fd36f23a3eaaf06db49 Mon Sep 17 00:00:00 2001 From: Arnaud Blanchard <arnaud.blanchard@ensea.fr> Date: Thu, 3 Oct 2019 22:37:03 +0200 Subject: [PATCH] Update the test file with the possibility to manage multiple parameters --- t_parse_args/test_result.log | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t_parse_args/test_result.log b/t_parse_args/test_result.log index aa121f4..a1262a5 100644 --- a/t_parse_args/test_result.log +++ b/t_parse_args/test_result.log @@ -1,12 +1,13 @@ 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: -- GitLab