summaryrefslogtreecommitdiff
path: root/docutils/frontend.py
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-04-02 02:29:26 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-04-02 02:29:26 +0000
commit95d52aaa548180ccedcb40193ac258b61edc5c47 (patch)
tree21a281e6e54ddd46d8c8ef2fbf6cc6a38e306dce /docutils/frontend.py
parent7fe82f75b0e6f9abd4f2f7a500af94fcd802ab17 (diff)
downloaddocutils-95d52aaa548180ccedcb40193ac258b61edc5c47.tar.gz
changed name of setting & cmdline option for sectnum disabling; now conforms to other settings/options
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@1902 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/frontend.py')
-rw-r--r--docutils/frontend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docutils/frontend.py b/docutils/frontend.py
index f98f1bb4c..8b74ab00c 100644
--- a/docutils/frontend.py
+++ b/docutils/frontend.py
@@ -294,9 +294,9 @@ class OptionParser(optparse.OptionParser, docutils.SettingsSpec):
['--no-footnote-backlinks'],
{'dest': 'footnote_backlinks', 'action': 'store_false'}),
('Disable Docutils section numbering',
- ['--disable-section-numbering'],
- {'action': 'store_false', 'default': 1,
- 'dest': 'enable_section_numbering', 'validator': validate_boolean}),
+ ['--no-section-numbering'],
+ {'action': 'store_false', 'dest': 'sectnum_xform',
+ 'default': 1, 'validator': validate_boolean}),
('Set verbosity threshold; report system messages at or higher than '
'<level> (by name or number: "info" or "1", warning/2, error/3, '
'severe/4; also, "none" or "5"). Default is 2 (warning).',