From a158a1df3419c5aa920319f570dc0207b4e87b85 Mon Sep 17 00:00:00 2001 From: Tlekbai Ali Date: Tue, 23 Jun 2020 18:36:08 +0600 Subject: [PATCH] Update README.md Change output to return --- subjects/flagger/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/subjects/flagger/README.md b/subjects/flagger/README.md index 9e2c5438..557d9f19 100644 --- a/subjects/flagger/README.md +++ b/subjects/flagger/README.md @@ -2,14 +2,13 @@ ### Instructions -Create a function called `flags` that receives an object and outputs +Create a function called `flags` that receives an object and returns the specific aliases and descriptions from the properties of that object. The `help` flag: - Should be present in the output by default. - - When not present in the input, it should output the description of all flags. - But when present it can specify the flags that you want to see - the description of. (ex: `help: ['divide']`) + - 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']`) #### Example: @@ -27,4 +26,4 @@ and outputs : alias: { h: 'help', m: 'multiply', d: 'divide'} description: '-d, --divide: divides the values', } -``` \ No newline at end of file +```