Move -nice handling to CommandLineModuleManager
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinehelpmodule.h
index fa120c732e3498e7e384f3a5c89f03727d9f192d..9fa23b9f31ba9d0ea50fcf3e1e9acac5fa9cce04 100644 (file)
@@ -128,6 +128,10 @@ class CommandLineHelpModule : public CommandLineModuleInterface
             return "Print help information";
         }
 
+        virtual void init(CommandLineModuleSettings *settings)
+        {
+            settings->setDefaultNiceLevel(0);
+        }
         virtual int run(int argc, char *argv[]);
         virtual void writeHelp(const CommandLineHelpContext &context) const;