Skip to content

Commit

Permalink
doc: add command optionsto README.md
Browse files Browse the repository at this point in the history
Continuation of nodejs#880. Documents options accepted by node-gyp.
  • Loading branch information
gibfahn committed May 23, 2016
1 parent 7f1c1b9 commit 02c9318
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,20 @@ Commands
| `remove` | Removes the node development header files for the given version


Command Options
--------

`node-gyp` accepts the following command options:

| **Command** | **Description**
|:----------------------------------|:------------------------------------------
| `-j n`, `--jobs n` | For `build`: run parallel builds
| `--silly`, `--loglevel=silly` | Log all progress to console
| `--verbose`, `--loglevel=verbose` | Log most progress to console
| `--silent`, `--loglevel=silent` | Don't log anything
| `--debug` | Make Debug build (default=Release)
| `--release`, `--no-debug` | Make Release build

License
-------

Expand Down
1 change: 1 addition & 0 deletions lib/node-gyp.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ proto.shorthands = {
, j: '--jobs'
, silly: '--loglevel=silly'
, verbose: '--loglevel=verbose'
, silent: '--loglevel=silent'
}

/**
Expand Down

0 comments on commit 02c9318

Please sign in to comment.