give context for this error to help with head scratching
This commit is contained in:
parent
3869ee308c
commit
68b554e6d3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue