Permalink
Browse files

clarified "npm star" error message

  • Loading branch information...
thejh committed Sep 16, 2011
1 parent fc110c9 commit 140f9c119f936fd6ae7260aa50a8689ac84a5369
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/star.js
View
@@ -27,7 +27,7 @@ function star (args, cb) {
else if (args[1] === "no")
using = false
else
- return cb(new Error("you must specify exactly one parameter: yes or no"))
+ return cb(new Error("second parameter must be yes or no"))
log.verbose(args, "star")
registry.use(args[0], using, function (er) {
cb(er)

0 comments on commit 140f9c1

Please sign in to comment.