Automatically convert maxadmin arguments to new format

As the object name formatting is automated, so should the formatting of
object names in arguments. This also makes 2.2 backwards compatible with
2.1 commands.
This commit is contained in:
Markus Mäkelä
2017-12-20 20:01:57 +02:00
parent a2acecd229
commit 91fc67b118
2 changed files with 41 additions and 29 deletions

View File

@ -427,7 +427,7 @@ static std::set<string> warned_whitespace;
* @brief Fix section names
*
* Check that section names contain no whitespace. If the name contains
* whitespace, trim it, squeeze it and replace the remainig whitespace with
* whitespace, trim it, squeeze it and replace the remaining whitespace with
* hyphens. If a replacement was made, a warning is logged.
*
* @param section Section name