diff --git a/README.md b/README.md index 93ca7f6..609ba5c 100644 --- a/README.md +++ b/README.md @@ -4000,7 +4000,7 @@ Example: ```bash deepThought (-a|--answer) [-h|--help] -deepThought ask [-h] (...) +deepThought (ask) [-h] (...) ``` Code: @@ -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] () +deepThought (ask) [--format] [--no-html] [-h|--help] () -a, --answer= The answer. [default: 42] -h, --help Print this help message and exit. @@ -5124,7 +5124,7 @@ const {br, defs, layout, table, text} = require('shargs/usage') const askDocs = layout([ table([ - ['deepThought ask', '[--format] [--no-html] [-h|--help] ()'] + ['deepThought (ask)', '[--format] [--no-html] [-h|--help] ()'] ]), br, defs([ @@ -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] () +deepThought (ask) [--format] [--no-html] [-h|--help] () --format= [default: json] Respond either with json or xml. diff --git a/package-lock.json b/package-lock.json index 9518ec5..54d9165 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "shargs", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -20,9 +20,9 @@ "integrity": "sha512-U9cAAO3gbNtWUpH50kuE8YKWiMQH7Wl9Je/QoLD8Sf/d6Zos/Z2VkDEiQfUfIuW1YAsLdUYCBryRDiKnQZIekg==" }, "shargs-usage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shargs-usage/-/shargs-usage-1.0.0.tgz", - "integrity": "sha512-DsO3N6lcaEhsOAcGzgoquRUPFqcFJPJywAGirdkkic1TktkiWT7ejavhQ5XC2PjFa6NQ21VlF8wXpI1LppeM6w==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/shargs-usage/-/shargs-usage-1.0.1.tgz", + "integrity": "sha512-s9Ehr95B+BMhL+DEp49uJuC4R4/AELcp0Y6E4GhoUTJ7plbbxFVD8O/szmKRtt3ff1qM1AM3eDVMdepNIaDRpA==" } } } diff --git a/package.json b/package.json index 0fdb451..86b39cd 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" } }