+ } else if ( arg.find( "--prop:" ) == 0 ) {
+ string assign = arg.substr(7);
+ int pos = assign.find('=');
+ if (pos == arg.npos || pos == 0) {
+ FG_LOG(FG_GENERAL, FG_ALERT, "Bad property assignment: " << arg);
+ return FG_OPTIONS_ERROR;
+ }
+ string name = assign.substr(0, pos);
+ string value = assign.substr(pos + 1);
+ current_properties.setStringValue(name.c_str(), value);
+ FG_LOG(FG_GENERAL, FG_INFO, "Setting default value of property "
+ << name << " to \"" << value << '"');