@ -1574,7 +1574,7 @@ static command_result workflow_cmd(Core *c, vector <string> & parameters)
}
else if (cmd == "clear")
{
if(parameters.size() == 1 && parameters[0] == "all")
if(parameters.size() == 2 && parameters[1] == "all")
delete_all_constraints(c);
return CR_OK;