Espace more "-" in man pages

This commit is contained in:
Florent 2014-02-19 14:57:24 +01:00
commit e91d05b207

View file

@ -164,7 +164,7 @@ def analyze_application(app, script_name):
script_name, app.VERSION.replace('.', '\\&.')) script_name, app.VERSION.replace('.', '\\&.'))
name = ".SH NAME\n%s \- %s" % (script_name, application.SHORT_DESCRIPTION) name = ".SH NAME\n%s \- %s" % (script_name, application.SHORT_DESCRIPTION)
condition = """.SH CONDITION condition = """.SH CONDITION
The -c and --condition is a flexible way to sort and get only interesting results. It supports conditions on numerical values, dates, and strings. Dates are given in YYYY-MM-DD format. The \-c and \-\-condition is a flexible way to sort and get only interesting results. It supports conditions on numerical values, dates, and strings. Dates are given in YYYY\-MM\-DD format.
The syntax of one expression is "\\fBfield operator value\\fR". The field to test is always the left member of the expression. The syntax of one expression is "\\fBfield operator value\\fR". The field to test is always the left member of the expression.
.LP .LP
The field is a member of the objects returned by the command. For example, a bank account has "balance", "coming" or "label" fields. The field is a member of the objects returned by the command. For example, a bank account has "balance", "coming" or "label" fields.
@ -204,7 +204,7 @@ Display accounts with a lot of money.
Get transactions containing "rewe". Get transactions containing "rewe".
.PP .PP
.nf .nf
.B boobank history account@backend \-\-condition 'date>2013-12-01 AND date<2013-12-09' .B boobank history account@backend \-\-condition 'date>2013\-12\-01 AND date<2013\-12\-09'
.fi .fi
Get transactions betweens the 2th December and 8th December 2013. Get transactions betweens the 2th December and 8th December 2013.
""" """