From fc41f7776c1705cee10023a9f410b394af0e7267 Mon Sep 17 00:00:00 2001 From: grubert Date: Mon, 17 Feb 2020 11:26:25 +0000 Subject: [ Fix #380 ] manpage commandline option problem in sphinx. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8492 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/functional/expected/standalone_rst_manpage.man | 4 ++-- docutils/test/test_writers/test_manpage.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docutils/test') diff --git a/docutils/test/functional/expected/standalone_rst_manpage.man b/docutils/test/functional/expected/standalone_rst_manpage.man index fbc9272eb..4bf8d28c3 100644 --- a/docutils/test/functional/expected/standalone_rst_manpage.man +++ b/docutils/test/functional/expected/standalone_rst_manpage.man @@ -67,10 +67,10 @@ docinfo, see this document as an example. .BI \-\-config\fB= Read configuration settings from , if it exists. .TP -.B \-\-version\fP,\fB \-V +.B \-\-version\fP,\fB \-V Show this program\(aqs version number and exit. .TP -.B \-\-help\fP,\fB \-h +.B \-\-help\fP,\fB \-h Show this help message and exit. .UNINDENT .sp diff --git a/docutils/test/test_writers/test_manpage.py b/docutils/test/test_writers/test_manpage.py index f0adec7e8..53b42cc6f 100644 --- a/docutils/test/test_writers/test_manpage.py +++ b/docutils/test/test_writers/test_manpage.py @@ -171,10 +171,10 @@ General rule of life. .BI \-\-config\fB= Read configuration settings from , if it exists. .TP -.B \-\-version\fP,\fB \-V +.B \-\-version\fP,\fB \-V Show this program\(aqs version number and exit. .TP -.B \-\-help\fP,\fB \-h +.B \-\-help\fP,\fB \-h Show this help message and exit. .UNINDENT .SH OTHER SECTION @@ -381,7 +381,7 @@ r""".INDENT 0.0 .B optional arguments: .INDENT 7.0 .TP -.B \-h\fP,\fB \-\-help +.B \-h\fP,\fB \-\-help show this help .TP .BI \-\-output \ FILE\fR,\fB \ \-o \ FILE -- cgit v1.2.1