Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

give context for this error to help with head scratching

  • Loading branch information...
commit 68b554e6d38c8109f817fc32b3f06baa49a9f9b3 1 parent 3869ee3
@trentm authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/bunyan
View
3  bin/bunyan
@@ -1110,7 +1110,8 @@ function main(argv) {
return;
}
if (opts.pid && opts.args.length > 0) {
- warn("bunyan: error: can't use both '-p PID' and file args");
+ warn("bunyan: error: can't use both '-p PID' (%s) and file (%s) args",
+ opts.pid, opts.args.join(' '));
return drainStdoutAndExit(1);
}
var stylize = (opts.color ? stylizeWithColor : stylizeWithoutColor);
Please sign in to comment.
Something went wrong with that request. Please try again.