Leave nullptr opt in t_filenm
authorBerk Hess <hess@kth.se>
Fri, 23 Feb 2018 13:01:15 +0000 (14:01 +0100)
committerBerk Hess <hess@kth.se>
Mon, 5 Mar 2018 13:32:13 +0000 (14:32 +0100)
commitc3f2af3de49dbfba6bb7fccb0553a4e205e70c66
tree9940a1a9505455f7475983ca1bace1f281e2531a
parent96e306725d59906dc11c2498390422aff5593d90
Leave nullptr opt in t_filenm

File options that use the default extension of the file type by
setting opt=nullptr in t_filenm are no longer updated by
parse_common_args. Instead the (default) option name is looked up
based on the file type in the utilty functions.
This is preparation for converting t_filenm to C++.

Change-Id: I907c1e88f91ab2e524a72c03c27fd67ad641bc02
src/gromacs/commandline/filenm.cpp
src/gromacs/commandline/filenm.h
src/gromacs/commandline/pargs.cpp