mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-26 07:33:00 +00:00
Fix command name in help text
This commit is contained in:
parent
4e01ce965d
commit
85167c630e
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue