From 0431545e24331a756e84250342777174b3a81c73 Mon Sep 17 00:00:00 2001 From: Pav01Founders <92518689+Pav01Founders@users.noreply.github.com> Date: Thu, 14 Oct 2021 12:53:56 +0100 Subject: [PATCH 1/2] Update README.md Updated instructions to make the task easier to understand. --- subjects/flags/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subjects/flags/README.md b/subjects/flags/README.md index 8a4a94684..7bb4815b7 100644 --- a/subjects/flags/README.md +++ b/subjects/flags/README.md @@ -2,13 +2,13 @@ ### Instructions -Write a **program** that can have as arguments `--insert` (or `-i`), `--order` (or `-o`) and a `string`. +Write a **program** that can take `--insert` (or `-i`), `--order` (or `-o`) and a `string`as arguments. This program should : -- Insert the string given to the `--insert` (or `-i`), in the `string` argument, if given. -- Order the `string` argument (in ASCII order) if given the flag `--order` (or `-o`). -- In case there are no arguments or if the flag `--help` (or `-h`) is given, it should print the options, as shown in the example. +- Insert the string given to the `--insert` (or `-i`), into the argument `string`, if given. +- If the flag '--order' (or '-o') is given, order the 'string' argument (in ASCII order). +- If there are no arguments or if the flag `--help` (or `-h`) is given, the options should be printed as in the example. Example of output : From 5541e9f8d8345feb23c1ea5d4f58b1604bf00b5f Mon Sep 17 00:00:00 2001 From: OGordoo <39002518+OGordoo@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:49:37 +0100 Subject: [PATCH 2/2] formatting readme --- subjects/flags/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/flags/README.md b/subjects/flags/README.md index 7bb4815b7..9ee0728b1 100644 --- a/subjects/flags/README.md +++ b/subjects/flags/README.md @@ -2,12 +2,12 @@ ### Instructions -Write a **program** that can take `--insert` (or `-i`), `--order` (or `-o`) and a `string`as arguments. +Write a **program** that can take `--insert` (or `-i`), `--order` (or `-o`) and a `string` as arguments. This program should : - Insert the string given to the `--insert` (or `-i`), into the argument `string`, if given. -- If the flag '--order' (or '-o') is given, order the 'string' argument (in ASCII order). +- If the flag `--order` (or `-o`) is given, order the `string` argument (in ASCII order). - If there are no arguments or if the flag `--help` (or `-h`) is given, the options should be printed as in the example. Example of output :