@@ -56,7 +56,7 @@ Comments and exact indentation are preserved throughout the translation process.
5656
5757By default, 2to3 runs a set of :ref: `predefined fixers <2to3-fixers >`. The
5858:option: `-l ` flag lists all available fixers. An explicit set of fixers to run
59- can be given with :option: `-f `. Likewise the :option: `-x ` explicitly disables a
59+ can be given with :option: `-f `. Likewise the :option: `! -x ` explicitly disables a
6060fixer. The following example runs only the ``imports `` and ``has_key `` fixers::
6161
6262 $ 2to3 -f imports -f has_key example.py
@@ -78,12 +78,12 @@ but 2to3 cannot fix automatically. In this case, 2to3 will print a warning
7878beneath the diff for a file. You should address the warning in order to have
7979compliant 3.x code.
8080
81- 2to3 can also refactor doctests. To enable this mode, use the :option: `-d `
81+ 2to3 can also refactor doctests. To enable this mode, use the :option: `! -d `
8282flag. Note that *only * doctests will be refactored. This also doesn't require
8383the module to be valid Python. For example, doctest like examples in a reST
8484document could also be refactored with this option.
8585
86- The :option: `-v ` option enables output of more information on the translation
86+ The :option: `! -v ` option enables output of more information on the translation
8787process.
8888
8989Since some print statements can be parsed as function calls or statements, 2to3
@@ -102,14 +102,14 @@ when not overwriting the input files.
102102.. versionadded :: 3.2.3
103103 The :option: `-o ` option was added.
104104
105- The :option: `-W ` or :option: `--write-unchanged-files ` flag tells 2to3 to always
105+ The :option: `! -W ` or :option: `--write-unchanged-files ` flag tells 2to3 to always
106106write output files even if no changes were required to the file. This is most
107107useful with :option: `-o ` so that an entire Python source tree is copied with
108108translation from one directory to another.
109109This option implies the :option: `-w ` flag as it would not make sense otherwise.
110110
111111.. versionadded :: 3.2.3
112- The :option: `-W ` flag was added.
112+ The :option: `! -W ` flag was added.
113113
114114The :option: `--add-suffix ` option specifies a string to append to all output
115115filenames. The :option: `-n ` flag is required when specifying this as backups
0 commit comments