Improve man page formatting slightly
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 15 Feb 2014 11:18:01 +0000 (13:18 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 16 Feb 2014 09:32:02 +0000 (10:32 +0100)
commit5ac574b96419900d504156ecc07fc1fb6e99f213
treea1d79b97cbcfdd3c1a0a78bafb8e937e2706141d
parent64fd20de16e5ea975b1064ba0cc8b9b252eea1e8
Improve man page formatting slightly

- Don't add extra space whenever [TT]/[BB]/[II] is specified.  This may
  have been necessary 15 years ago, or has always been broken, but
  currently it adds a lot of forced double spaces and leading spaces
  onto man pages.  The text is much more readable without it.
- Merge all command line options into a single OPTIONS section. Divide
  it into groups using extra paragraphs in between.  Could possibly be
  formatted nicer, but that would require extra nroff trickery that we
  might rather get rid of.

Related to #1437.

Change-Id: I4b27b79604a1830914cd5d14d6581918f33bb107
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesLongFileOptions.xml
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesLongOptions.xml
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesMultipleSections.xml
src/gromacs/commandline/tests/refdata/CommandLineHelpWriterTest_HandlesOptionTypes.xml
src/gromacs/onlinehelp/helpwritercontext.cpp