update the "requires interactive terminal" message

to make it more user friendly
develop
myk002 2022-07-27 16:30:14 -07:00
parent ed113466d9
commit a053cce444
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 1 deletions

@ -1235,7 +1235,8 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, v
} }
} }
else if (res == CR_NEEDS_CONSOLE) else if (res == CR_NEEDS_CONSOLE)
con.printerr("%s needs interactive console to work.\n", first.c_str()); con.printerr("%s needs an interactive console to work.\n"
"Please run this command from the DFHack terminal.\n", first.c_str());
return res; return res;
} }