Browse Source

Merge pull request #855 from Pav01Founders/patch-14

Update subjects/flags/README.md
pull/878/head
MSilva95 3 years ago committed by GitHub
parent
commit
7b43900d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      subjects/flags/README.md

8
subjects/flags/README.md

@ -2,13 +2,13 @@
### Instructions ### 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 : This program should :
- Insert the string given to the `--insert` (or `-i`), in the `string` argument, if given. - Insert the string given to the `--insert` (or `-i`), into the argument `string`, if given.
- Order the `string` argument (in ASCII order) if given the flag `--order` (or `-o`). - If the flag `--order` (or `-o`) is given, order the `string` argument (in ASCII order).
- 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. - 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 : Example of output :

Loading…
Cancel
Save