]> git.mxchange.org Git - flightgear.git/commit
Ignore not-found 'config file' arguments.
authorJames Turner <zakalawe@mac.com>
Thu, 27 Mar 2014 08:05:02 +0000 (08:05 +0000)
committerJames Turner <zakalawe@mac.com>
Thu, 27 Mar 2014 08:05:02 +0000 (08:05 +0000)
commitca3cc03fac9de5de080564ab0bc6b1a55ea32651
treea4f6d5aaf8473667678e40ed75319a16f52328e9
parent19528fab8cd2a56f8ef486c817620488a842a862
Ignore not-found 'config file' arguments.

Fixes confusing startup behaviour with malformed args, when
an argument accidentally contains a space (e.g. a park-pos or
protocol desc). In this case we treat the parts after the space as an XML config file name. When we can't find this file, we
completely abandon options setup, which causes many downstream
errors.

Change the behaviour so we warn in this case, but carry on with normal startup.
src/Main/options.cxx