diff -Nru advgetopt-2.0.7.0~bionic/advgetopt/advgetopt_config.cpp advgetopt-2.0.7.1~bionic/advgetopt/advgetopt_config.cpp --- advgetopt-2.0.7.0~bionic/advgetopt/advgetopt_config.cpp 2020-05-30 00:40:30.000000000 +0000 +++ advgetopt-2.0.7.1~bionic/advgetopt/advgetopt_config.cpp 2020-05-30 00:42:15.000000000 +0000 @@ -336,7 +336,7 @@ // opt->set_default(param.second); - f_options_by_name[param.first] = opt; + f_options_by_name[opt->get_name()] = opt; } } else diff -Nru advgetopt-2.0.7.0~bionic/debian/changelog advgetopt-2.0.7.1~bionic/debian/changelog --- advgetopt-2.0.7.0~bionic/debian/changelog 2020-05-30 00:42:15.000000000 +0000 +++ advgetopt-2.0.7.1~bionic/debian/changelog 2020-05-30 00:42:15.000000000 +0000 @@ -1,6 +1,7 @@ -advgetopt (2.0.7.0~bionic) bionic; urgency=high +advgetopt (2.0.7.1~bionic) bionic; urgency=high - * Applied a fix to the configuration file sections handling. + * When saving parameters to the `f_options_by_name` we must use the correct + version of the name (i.e. the `_` are changed to `-`). -- Alexis Wilke Fri, 29 May 2020 17:42:15 -0700 Binary files /tmp/tmpxgRyx_/kgaqvArZXi/advgetopt-2.0.7.0~bionic/debian/.changelog.swp and /tmp/tmpxgRyx_/DJu6vhPLb6/advgetopt-2.0.7.1~bionic/debian/.changelog.swp differ