Allow ResultsCondition to compare timedelta
The user may now use conditions on durations (from the audio and the video capabilities) in repl applications. The documentation has been updated to take this change into account.
This commit is contained in:
parent
cb511a7245
commit
bd7891f202
2 changed files with 9 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ def analyze_application(app, script_name):
|
|||
script_name, app.VERSION.replace('.', '\\&.'))
|
||||
name = ".SH NAME\n%s \- %s" % (script_name, application.SHORT_DESCRIPTION)
|
||||
condition = """.SH CONDITION
|
||||
The \-c and \-\-condition is a flexible way to filter and get only interesting results. It supports conditions on numerical values, dates, and strings. Dates are given in YYYY\-MM\-DD or YYYY\-MM\-DD HH:MM format.
|
||||
The \-c and \-\-condition is a flexible way to filter and get only interesting results. It supports conditions on numerical values, dates, durations and strings. Dates are given in YYYY\-MM\-DD or YYYY\-MM\-DD HH:MM format. Durations look like XhYmZs where X, Y and Z are integers. Any of them may be omitted. For instance, YmZs, XhZs or Ym are accepted.
|
||||
The syntax of one expression is "\\fBfield operator value\\fR". The field to test is always the left member of the expression.
|
||||
.LP
|
||||
The field is a member of the objects returned by the command. For example, a bank account has "balance", "coming" or "label" fields.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue