From 5e063d844696326f5fd9e39530040aee68b87bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 5 Jan 2020 22:23:55 +0100 Subject: [PATCH] :memo: Update docs for First Steps --- docs/tutorial/first-steps.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/tutorial/first-steps.md b/docs/tutorial/first-steps.md index 42509e3..e8c2ffa 100644 --- a/docs/tutorial/first-steps.md +++ b/docs/tutorial/first-steps.md @@ -87,13 +87,23 @@ $ python main.py Camila Hello Camila // Here "Camila" is the CLI argument + +// To pass a name with spaces for the same CLI argument, use quotes +$ python main.py "Camila GutiƩrrez" + +Hello Camila GutiƩrrez ``` +!!! tip + If you need to pass a single value that contains spaces to a *CLI argument*, use quotes (`"`) around it. + ## Two CLI arguments -Now extend that to have 2 arguments, `name` and `lastname`: +Now let's say we want to have the name and last name separated. + +So, extend that to have 2 arguments, `name` and `lastname`: ```Python hl_lines="4 5" {!./src/first_steps/tutorial003.py!}