Skip to content

Commit

Permalink
feat(log level): support log level off (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqours authored and nicojs committed Jul 9, 2019
1 parent a2ee7fd commit f0cdec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ $ node_modules/.bin/link-parent-bin --help
-d, --link-dev-dependencies <true|false> Enables linking of parents `devDependencies`. Defaults to: true
-s, --link-dependencies <true|false> Enables linking of parents `dependencies`. Defaults to: false
-o, --link-local-dependencies <true|false> Enables linking of parents `localDependencies`. Defaults to: false
-l, --log-level <debug|info|error> Set the log level
-l, --log-level <debug|info|error|off> Set the log level
```

## Use programmatically
Expand Down
2 changes: 1 addition & 1 deletion src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const program = {
.option('-d, --link-dev-dependencies <true|false>', describeLinking('devDependencies', true), parseBoolean, true)
.option('-s, --link-dependencies <true|false>', describeLinking('dependencies', false), parseBoolean, false)
.option('-o, --link-local-dependencies <true|false>', describeLinking('localDependencies', false), parseBoolean, false)
.option('-l, --log-level <debug|info|error>', 'Set the log level', /debug|info|error/, 'info')
.option('-l, --log-level <debug|info|error|off>', 'Set the log level', /debug|info|error|off/, 'info')
.parse(argv) as any;
}
}

0 comments on commit f0cdec3

Please sign in to comment.