Move Options::setDescription() elsewhere
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / modules / freevolume.cpp
index b489c2a933920764d1591ddb6e34087cd34a878a..a99215cffd6df62af3073d3fb686859f2b33f76f 100644 (file)
@@ -196,8 +196,7 @@ FreeVolume::initOptions(Options                    *options,
         "the terminal."
     };
 
-    // Add the descriptive text (program help text) to the options
-    options->setDescription(desc);
+    settings->setHelpText(desc);
 
     // Add option for optional output file
     options->addOption(FileNameOption("o").filetype(eftPlot).outputFile()