diff --git a/src/node.cc b/src/node.cc index 7bfcdb8623c..714dd4c35f7 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2209,7 +2209,11 @@ Handle SetupProcessObject(int argc, char *argv[]) { // -e, --eval if (eval_string) { process->Set(String::NewSymbol("_eval"), String::New(eval_string)); - process->Set(String::NewSymbol("_print_eval"), Boolean::New(print_eval)); + } + + // -p, --print + if (print_eval) { + process->Set(String::NewSymbol("_print_eval"), True()); } if (force_repl) {