route renamed reset sub-commands through Deprecated class to print warning

This commit is contained in:
Axel Kohlmeyer
2022-11-17 23:11:41 -05:00
parent 7e9d66bbfb
commit e8471790bc
6 changed files with 23 additions and 9 deletions

View File

@ -2003,7 +2003,7 @@ void Input::units()
int Input::meta(const std::string &prefix)
{
auto mycmd = fmt::format("{}_{}", prefix, arg[0]);
auto mycmd = fmt::format("{}_{}", utils::uppercase(prefix), utils::uppercase(arg[0]));
if (command_map->find(mycmd) != command_map->end()) {
CommandCreator &command_creator = (*command_map)[mycmd];
Command *cmd = command_creator(lmp);