pass params from blueprint gui to gui/blueprint

without passing the initial "gui" literal string
develop
myk002 2021-09-09 00:24:00 -07:00 committed by Myk
parent 97fab76bba
commit 6073cfeb5d
1 changed files with 2 additions and 2 deletions

@ -745,9 +745,9 @@ static bool do_blueprint(color_ostream &out,
{
std::ostringstream command;
command << "gui/blueprint";
for (const string &param : parameters)
for (size_t i = 1; i < parameters.size(); ++i)
{
command << " " << param;
command << " " << parameters[i];
}
string command_str = command.str();
out.print("launching %s\n", command_str.c_str());