docs(flagger): correct grammar

This commit is contained in:
davhojt 2022-06-19 23:59:12 +03:00 committed by Dav Hojt
parent c370eb398e
commit 0218f8e8b3
1 changed files with 3 additions and 4 deletions

View File

@ -2,14 +2,13 @@
### Instructions ### Instructions
Create a function called `flags` that receives an object and returns Create a function named `flags` that receives an object and returns the specific aliases and descriptions from the properties of that object.
the specific aliases and descriptions from the properties of that object.
The `help` flag: The `help` flag:
- Should be present in the output by default. - Must be present in the **output** by default.
- When not present in the input, it should return the description of all flags. - When not present in the input, it should return the description of all flags.
But when present it specifies the descriptions of the flags that are passed to help. (ex: `help: ['divide']`) - When present in the input, it specifies the descriptions of the flags that are passed to `help`. (ex: `help: ['divide']`)
#### Example: #### Example: