|
From: <mi...@us...> - 2022-01-25 16:39:18
|
Revision: 8966
http://sourceforge.net/p/docutils/code/8966
Author: milde
Date: 2022-01-25 16:39:15 +0000 (Tue, 25 Jan 2022)
Log Message:
-----------
Suppress help output for deprecated command line options.
Modified Paths:
--------------
trunk/docutils/docutils/writers/html5_polyglot/__init__.py
trunk/docutils/tools/buildhtml.py
Modified: trunk/docutils/docutils/writers/html5_polyglot/__init__.py
===================================================================
--- trunk/docutils/docutils/writers/html5_polyglot/__init__.py 2022-01-25 16:39:07 UTC (rev 8965)
+++ trunk/docutils/docutils/writers/html5_polyglot/__init__.py 2022-01-25 16:39:15 UTC (rev 8966)
@@ -83,11 +83,11 @@
settings_spec = settings_spec + (
'HTML5 Writer Options',
'',
- (('Obsoleted by "--image-loading".',
+ ((frontend.SUPPRESS_HELP, # Obsoleted by "--image-loading"
['--embed-images'],
{'action': 'store_true',
'validator': frontend.validate_boolean}),
- ('Obsoleted by "--image-loading".',
+ (frontend.SUPPRESS_HELP, # Obsoleted by "--image-loading"
['--link-images'],
{'dest': 'embed_images', 'action': 'store_false'}),
('Suggest at which point images should be loaded: '
Modified: trunk/docutils/tools/buildhtml.py
===================================================================
--- trunk/docutils/tools/buildhtml.py 2022-01-25 16:39:07 UTC (rev 8965)
+++ trunk/docutils/tools/buildhtml.py 2022-01-25 16:39:15 UTC (rev 8966)
@@ -83,7 +83,7 @@
'choices': ['html', 'html4', 'html5'],
# 'default': 'html' (set below)
}),
- ('Obsoleted by "--writer".',
+ (frontend.SUPPRESS_HELP, # Obsoleted by "--writer"
['--html-writer'],
{'metavar': '<writer>',
'choices': ['html', 'html4', 'html5'],}),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|