Fix command name in help text

This commit is contained in:
Starbeamrainbowlabs 2021-04-20 01:34:26 +01:00
parent 4e01ce965d
commit 85167c630e
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ npm install --save terrain50-cli
## v1.9 (unreleased)
- `identify`: Add value range to output
- `clamp`: add new subcommand
- Fix command name in help text
## v1.8

View File

@ -59,6 +59,7 @@ async function get_actions_metadata() {
export default async function() {
let cli = new CliParser(path.resolve(__dirname, "../../package.json"));
cli.set_name("terrain50"); // The command name is actually terrain50, even though the package name is terrain50-cli
cli.set_description_extended(`With terrain50 ${await get_version()}`);
cli.argument("log-level", "The logging level. Possible values: debug (default), info, log, warn, error, none", "debug", "string");
cli.argument("tolerant", "When parsing streams of data, be more tolerant of whitespace inconsistencies and other errors at the cost of decreased performance (otherwise it is assumed a single space separates elements on a line).", false, "boolean");