Minor selection clarifications
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 2 Jan 2015 16:49:03 +0000 (18:49 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 3 Jan 2015 01:19:25 +0000 (02:19 +0100)
commit2f1658f22b75df5348b7eb7d0915f9d7e6225955
tree3654aa263cc2931da9cb0ebb54a44b8fd2e3cbf8
parent96caf1159f0c6d84d0f39d63b0b8e08e03e5956c
Minor selection clarifications

- Disallow unquoted strings as selection names.  This prevents
  "help all" getting parsed as a valid selection with name "help", as
  well as some unwanted behavior with typos in the first word of a
  selection.  The selections are much more readable with the name
  quoted, and all examples use the quotes, so there should be no harm
  done in making the syntax stricter in this case.
- Clarify the generic help text printed out by 'gmx help selections'.
  Now the help text references the manual, which contains a bit longer
  introduction to selections, instead of trying to duplicate that
  content.

Change-Id: I76a0b54b19e631c96c167cb55ed2dac5cff328a4
src/gromacs/selection/parser.cpp
src/gromacs/selection/parser.y
src/gromacs/selection/selhelp.cpp