Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yord committed Jan 17, 2021
2 parents c6dbb2a + df090b7 commit 11b75d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4000,7 +4000,7 @@ Example:

```bash
deepThought (-a|--answer) [-h|--help]
deepThought ask [-h] (<questions>...)
deepThought (ask) [-h] (<questions>...)
```

Code:
Expand Down Expand Up @@ -4857,7 +4857,7 @@ If we run the program with `node ./deepThought --help`, the following text is pr

```bash
deepThought [-a|--answer] [-h|--help]
deepThought ask [--format] [--no-html] [-h|--help] (<question>)
deepThought (ask) [--format] [--no-html] [-h|--help] (<question>)

-a, --answer=<number> The answer. [default: 42]
-h, --help Print this help message and exit.
Expand Down Expand Up @@ -5124,7 +5124,7 @@ const {br, defs, layout, table, text} = require('shargs/usage')

const askDocs = layout([
table([
['deepThought ask', '[--format] [--no-html] [-h|--help] (<question>)']
['deepThought (ask)', '[--format] [--no-html] [-h|--help] (<question>)']
]),
br,
defs([
Expand Down Expand Up @@ -5157,7 +5157,7 @@ const string = askDocs(style)
If we `console.log(string)`, the following text is printed to the console:

```bash
deepThought ask [--format] [--no-html] [-h|--help] (<question>)
deepThought (ask) [--format] [--no-html] [-h|--help] (<question>)

--format=<json|xml> [default: json]
Respond either with json or xml.
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shargs",
"version": "1.0.1",
"version": "1.0.2",
"description": "A highly configurable and extensible command-line arguments parser",
"keywords": [
"shargs",
Expand Down Expand Up @@ -29,6 +29,6 @@
"shargs-core": "1.0.0",
"shargs-opts": "1.0.0",
"shargs-parser": "1.0.0",
"shargs-usage": "1.0.0"
"shargs-usage": "1.0.1"
}
}

0 comments on commit 11b75d8

Please sign in to comment.