Skip to content

Commit

Permalink
core: alias --release as --no-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Mar 29, 2012
1 parent 715b58e commit 1354d27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/node-gyp.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ proto.configDefs = {
, proxy: String // 'install'
}

proto.shorthands = {}
proto.shorthands = {
release: '--no-debug'
}

proto.parseArgv = function parseOpts (argv) {
this.opts = nopt(this.configDefs, this.shorthands, argv)
Expand Down

0 comments on commit 1354d27

Please sign in to comment.