From 65748147413366c5013c0e10f8bd8b5f74f58c8e Mon Sep 17 00:00:00 2001 From: MSilva95 <53977751+MSilva95@users.noreply.github.com> Date: Fri, 8 Jul 2022 11:29:26 +0100 Subject: [PATCH] add single arg --- subjects/argrot1/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subjects/argrot1/README.md b/subjects/argrot1/README.md index b58c11b7..0849bde7 100644 --- a/subjects/argrot1/README.md +++ b/subjects/argrot1/README.md @@ -11,10 +11,12 @@ Write a program that rotates the arguments in the command line by 1 position. ```console $ go run . | cat -e $ +$ go run . "hello" | cat -e +$ $ go run . 1 2 3 4 5 6 7 8 9 | cat -e 2 3 4 5 6 7 8 9 1$ $ go run "Hello" "World" | cat -e World Hello$ $ go run . a b c d b c d a$ -``` \ No newline at end of file +```