[doc] Fix option_*() migration commands in doc 3.25
authorJérôme Roy <jerome.roy@logilab.fr>
Fri, 28 Jul 2017 08:35:01 +0000
branch3.25
changeset 12196 b6b87c36beed
parent 12195 81cf4cf60411
child 12197 43022c1fa133
[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
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