biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move -nice handling to CommandLineModuleManager
[alexxy/gromacs.git]
/
src
/
gromacs
/
commandline
/
cmdlinehelpmodule.h
diff --git
a/src/gromacs/commandline/cmdlinehelpmodule.h
b/src/gromacs/commandline/cmdlinehelpmodule.h
index fa120c732e3498e7e384f3a5c89f03727d9f192d..9fa23b9f31ba9d0ea50fcf3e1e9acac5fa9cce04 100644
(file)
--- a/
src/gromacs/commandline/cmdlinehelpmodule.h
+++ b/
src/gromacs/commandline/cmdlinehelpmodule.h
@@
-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;