changed return type of get_configuration in main: return configuration and bool flag
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 22 Jan 2015 14:03:19 +0000 (15:03 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 22 Jan 2015 14:03:19 +0000 (15:03 +0100)
commitb588279a4f985b146ee16ecd4ff038191c504353
tree329169f548d7f449919c4645fed40983fc39ce3f
parentbfec40a6ccae093a58f5a14850b3f72a68067c2a
changed return type of get_configuration in main: return configuration and bool flag

this way, always get a valid configuration object with default values and some values set
  even if parsing other options failed. Important for --version where usually fail to read
  config file but do not need it anyway
src/main.cpp