diff options
author | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2020-10-03 13:19:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 07:19:11 +1100 |
commit | d0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch) | |
tree | 627339e0dc2212ed861184d46b6af31605224d24 /std/flags | |
parent | 391eed42f41bd277fff936192b474bfd52eaa1a0 (diff) |
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'std/flags')
-rw-r--r-- | std/flags/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/flags/README.md b/std/flags/README.md index ebfc346e1..80b05549d 100644 --- a/std/flags/README.md +++ b/std/flags/README.md @@ -1,6 +1,6 @@ # flags -Command line arguments parser for Deno based on minimist +Command line arguments parser for Deno based on minimist. # Example @@ -42,15 +42,15 @@ Any arguments after `'--'` will not be parsed and will end up in `parsedArgs._`. options can be: - `options.string` - a string or array of strings argument names to always treat - as strings + as strings. - `options.boolean` - a boolean, string or array of strings to always treat as booleans. if `true` will treat all double hyphenated arguments without equal - signs as boolean (e.g. affects `--foo`, not `-f` or `--foo=bar`) + signs as boolean (e.g. affects `--foo`, not `-f` or `--foo=bar`). - `options.alias` - an object mapping string names to strings or arrays of - string argument names to use as aliases -- `options.default` - an object mapping string argument names to default values + string argument names to use as aliases. +- `options.default` - an object mapping string argument names to default values. - `options.stopEarly` - when true, populate `parsedArgs._` with everything after - the first non-option + the first non-option. - `options['--']` - when true, populate `parsedArgs._` with everything before the `--` and `parsedArgs['--']` with everything after the `--`. Here's an example: |