Simplify Options::setDescription() usage
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 2 Feb 2014 06:22:52 +0000 (08:22 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 2 Feb 2014 16:12:37 +0000 (17:12 +0100)
commita6b824e3ed19e16de72d2551dab0f5dbec20b041
treef9b79ca5c6ccced966d147618bb386037da960ef
parent6c077f124f4542f6576091de15b81db4e35ec46f
Simplify Options::setDescription() usage

Remove the need for all tools to call concatenateStrings() to pass the
description to Options::setDescription().  In addition to marginally
simplifying the calling code, this allows more elaborate processing of
the input array to fix issues that there currently are, e.g., with
descriptions that include significant leading spaces in the input
strings.  Not done in this change, though.

Change-Id: Ibe295d5e578222c43f01c1248989d119aa60f0bd
share/template/template.cpp
src/gromacs/options/options.cpp
src/gromacs/options/options.h
src/gromacs/trajectoryanalysis.h
src/gromacs/trajectoryanalysis/modules/angle.cpp
src/gromacs/trajectoryanalysis/modules/distance.cpp
src/gromacs/trajectoryanalysis/modules/freevolume.cpp
src/gromacs/trajectoryanalysis/modules/select.cpp
src/gromacs/trajectoryanalysis/tests/test_selection.cpp