Process help and version arguments before datadir.