Remove old help formatting code
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 23 Dec 2013 18:14:22 +0000 (20:14 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 9 Feb 2014 12:40:27 +0000 (13:40 +0100)
commit7d9eb7f6df318ece4f18e73700ad6dc3e6412330
treeace121f72aac8fdd1f324875879578fe64cae3eb
parente54b9c33c7c2f01cd5d64d03a09ad3c81f5b3001
Remove old help formatting code

Make parse_common_args() format its help using the new
CommandLineHelpWriter class.  To support this:
 - Add conversion functions that map t_filenm and t_pargs options to
   corresponding Option classes.
 - Add support for arbitrary file types from the filenm.h enum to
   FileNameOption.
 - Add support for writing a list of known issues from
   CommandLineHelpWriter.
 - Some minor extensions to the Option classes to make it easy to do
   the conversion.
 - Fix gmx_hbond to not specify the same option twice.
 - Remove wman.* as unused after the change.

Related to #969.

Change-Id: I25143ddfa4226abd5ae5b95172f69c8fc615b720
12 files changed:
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/commandline/cmdlinehelpwriter.h
src/gromacs/commandline/pargs.cpp
src/gromacs/commandline/wman.cpp [deleted file]
src/gromacs/commandline/wman.h [deleted file]
src/gromacs/fileio/filenm.c
src/gromacs/gmxana/gmx_hbond.c
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/options/abstractoption.h
src/gromacs/options/filenameoption.cpp
src/gromacs/options/filenameoption.h
src/gromacs/options/filenameoptionstorage.h