From 49eeed8420a9bbcdb7b8ae7b3ec34453941e57f7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 16 Jan 2015 00:01:38 +0900 Subject: [PATCH] help2rst.py: Update number of indentation --- help2rst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/help2rst.py b/help2rst.py index a6062a6a..13a4916d 100755 --- a/help2rst.py +++ b/help2rst.py @@ -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