diff --git a/bin/cli.js b/bin/cli.js index 645bdc4..22501df 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -16,7 +16,7 @@ var options = { } // -v is a shorthand for --version var shorthands = { - "v": "version" + "v": "--version" } var parsed = nopt(options, shorthands); @@ -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); } -} \ No newline at end of file +}