Permalink
Browse files

Move one newline ahead of error message.

  • Loading branch information...
1 parent 0f51d55 commit d8079c57341d0f00c8c71e97871863eb7f66d303 @calmh calmh committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 nomnom.js
View
@@ -253,7 +253,7 @@ ArgParser.prototype = {
// exit if required arg isn't present
this.specs.forEach(function(opt) {
if (opt.required && options[opt.name] === undefined) {
- this.print(opt.name + " argument is required\n\n" + this.getUsage(), 1);
+ this.print("\n" + opt.name + " argument is required\n" + this.getUsage(), 1);
}
}, this);

0 comments on commit d8079c5

Please sign in to comment.