Misc. option fixes.
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 25 Apr 2012 15:19:29 +0000 (18:19 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 26 Apr 2012 08:30:50 +0000 (11:30 +0300)
commit273c2d6d89074f0c1bde0fb19cb3fcf00815f76b
tree3e7dc01df1bb9f68757e4c1426d7b8c2d4a13b49
parent25c752a51955337dc61d80a180ed9efa26f2121f
Misc. option fixes.

- Fix two bugs introduced by earlier refactoring (one-liners in
  optionstoragetemplate.h and cmdlinehelpwriter.cpp).
  Both noticed when starting to work on #666, subsequent commits will
  add tests that failed because of these.
- Added isRequired() to OptionInfo and related classes.
  Needed for IssueID #666, but doing this in a separate commit to reduce
  the footprint of bigger subsequent commits.

Change-Id: Ifee906fe589fd93ff259a02166c41c9b1568439c
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/options/abstractoptionstorage.h
src/gromacs/options/optioninfo.h
src/gromacs/options/optionstoragetemplate.h
src/gromacs/options/optionsvisitor.cpp
src/gromacs/selection/selectionoption.cpp