Change name of gmxdump to dump and gmxcheck to check
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinemodulemanager.cpp
index 00e27f7d60e95b40234f5b28e360ce3635c38268..9bd8c3b57f3ff09289cbb0ff6e334474188b382a 100644 (file)
@@ -662,6 +662,10 @@ CommandLineModuleManager::Impl::findModuleFromBinaryName(
     {
         binaryName.erase(0, 2);
     }
+    if (binaryName.compare(0, 3, "gmx") == 0)
+    {
+        binaryName.erase(0, 3);
+    }
     return findModuleByName(binaryName);
 }