# HG changeset patch # User Jérôme Roy # Date 1501230901 0 # Node ID b6b87c36beed61eb13b82520ba0642c046bdc6b8 # Parent 81cf4cf6041151bff988bc745c697f6a1496218a [doc] Fix option_*() migration commands in doc The function signature in the doc is not the same as in the code. Also option_removed should probably be removed from the doc since the function in migration.py is empty diff -r 81cf4cf60411 -r b6b87c36beed doc/book/devrepo/migration.rst --- a/doc/book/devrepo/migration.rst Wed May 03 21:58:48 2017 +0200 +++ b/doc/book/devrepo/migration.rst Fri Jul 28 08:35:01 2017 +0000 @@ -197,9 +197,9 @@ * `option_group_change(option, oldgroup, newgroup)`, indicates that an option does not belong anymore to the same group. -* `option_added(oldname, newname)`, indicates that an option has been added. +* `option_added(option)`, indicates that an option has been added. -* `option_removed(oldname, newname)`, indicates that an option has been deleted. +* `option_removed(option)`, indicates that an option has been deleted. The `config` variable is an object which can be used to access the configuration values, for reading and updating, with a dictionary-like