Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move one newline ahead of error message.

  • Loading branch information...
commit d8079c57341d0f00c8c71e97871863eb7f66d303 1 parent 0f51d55
@calmh calmh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  nomnom.js
View
2  nomnom.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.