Loading isis/src/base/objs/UserInterface/UserInterface.cpp +77 −70 Original line number Diff line number Diff line Loading @@ -504,6 +504,7 @@ namespace Isis { int g = lab.groups() - 1; if (g >= 0 && lab.group(g).isNamed("UserParameters") ) { Isis::PvlGroup &up = lab.group(g); QString commandline(p_progName + " "); for (int k = 0; k < up.keywords(); k++) { QString keyword = up[k].name(); Loading @@ -529,9 +530,15 @@ namespace Isis { } } if (!matchesDefault) if (!matchesDefault) { PutAsString(keyword, values); commandline += keyword + "="; foreach(QString val, values) { commandline += val + " "; } } } std::cout << commandline << std::endl; return; } Loading isis/src/base/objs/UserInterface/UserInterface.h +31 −28 Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ namespace Isis { * Added lacking [at]throws documentation to UserInterface.cpp. * @history 2016-04-05 Jesse Mapel - Changed bad histroy file error message to reflect that * the history file could be for a different application. Fixes #2366 * @history 2018-04-20 Adam Goins - Modified loadHistory() to print out the last command * so that users can see the actual command that the -last arg loads. * Fixes #4779. * */ Loading Loading
isis/src/base/objs/UserInterface/UserInterface.cpp +77 −70 Original line number Diff line number Diff line Loading @@ -504,6 +504,7 @@ namespace Isis { int g = lab.groups() - 1; if (g >= 0 && lab.group(g).isNamed("UserParameters") ) { Isis::PvlGroup &up = lab.group(g); QString commandline(p_progName + " "); for (int k = 0; k < up.keywords(); k++) { QString keyword = up[k].name(); Loading @@ -529,9 +530,15 @@ namespace Isis { } } if (!matchesDefault) if (!matchesDefault) { PutAsString(keyword, values); commandline += keyword + "="; foreach(QString val, values) { commandline += val + " "; } } } std::cout << commandline << std::endl; return; } Loading
isis/src/base/objs/UserInterface/UserInterface.h +31 −28 Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ namespace Isis { * Added lacking [at]throws documentation to UserInterface.cpp. * @history 2016-04-05 Jesse Mapel - Changed bad histroy file error message to reflect that * the history file could be for a different application. Fixes #2366 * @history 2018-04-20 Adam Goins - Modified loadHistory() to print out the last command * so that users can see the actual command that the -last arg loads. * Fixes #4779. * */ Loading