diff --git a/README.md b/README.md index 896ec7ad84..33d7f1f078 100644 --- a/README.md +++ b/README.md @@ -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 ------- diff --git a/lib/node-gyp.js b/lib/node-gyp.js index a5a3328855..3b8f5b0a1c 100644 --- a/lib/node-gyp.js +++ b/lib/node-gyp.js @@ -112,6 +112,7 @@ proto.shorthands = { , j: '--jobs' , silly: '--loglevel=silly' , verbose: '--loglevel=verbose' + , silent: '--loglevel=silent' } /**