Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from michaelrshannon/michaelrshannon-patch-1
Browse files Browse the repository at this point in the history
Fixed bug where `-v` wouldn't work as expected
  • Loading branch information
gakimball committed Apr 21, 2015
2 parents feda6dc + 14d9dd9 commit 4fbb9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var options = {
}
// -v is a shorthand for --version
var shorthands = {
"v": "version"
"v": "--version"
}
var parsed = nopt(options, shorthands);

Expand Down Expand Up @@ -57,4 +57,4 @@ else {
// So if the user types "foundation new myApp --edge", "myApp" is a secondary command, and "--edge" is an option
foundation[cmd.args[0]](cmd.args.slice(1), cmd.opts);
}
}
}

0 comments on commit 4fbb9d7

Please sign in to comment.