|
|
@ -7,7 +7,7 @@ Write a **program** that can have as arguments `--insert` (or `-i`), `--order` |
|
|
|
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`), in the `string` argument, if given. |
|
|
|
- Order the `string` argument if given the flag `--order` (or `-o`). |
|
|
|
- Order the `string` argument (in ASCII order) if given the flag `--order` (or `-o`). |
|
|
|
- In case there are no arguments or the flag `--help` (or `-h`) is given, it should print the options, as shown in the example. |
|
|
|
- In case there are no arguments or the flag `--help` (or `-h`) is given, it should print the options, as shown in the example. |
|
|
|
|
|
|
|
|
|
|
|
Example of output : |
|
|
|
Example of output : |
|
|
|