Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
49eeed84
Commit
49eeed84
authored
Jan 16, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
help2rst.py: Update number of indentation
parent
5f36d91a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
help2rst.py
help2rst.py
+2
-2
No files found.
help2rst.py
View file @
49eeed84
...
...
@@ -8,7 +8,7 @@ import sys
import
re
import
argparse
arg_indent
=
' '
*
21
arg_indent
=
' '
*
14
def
help2man
(
infile
):
# We assume that first line is usage line like this:
...
...
@@ -87,7 +87,7 @@ DESCRIPTION
continue
if
line
.
startswith
(
' '
)
and
in_arg
:
if
not
line
.
startswith
(
arg_indent
):
sys
.
stderr
.
write
(
'warning: argument description is not indented correctly. We need {} spaces as indentation.'
.
format
(
len
(
arg_indent
)))
sys
.
stderr
.
write
(
'warning: argument description is not indented correctly. We need {} spaces as indentation.
\n
'
.
format
(
len
(
arg_indent
)))
print
'{}'
.
format
(
format_arg_text
(
line
[
len
(
arg_indent
):]))
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment