Merge pull request #430 from thdox/documentation
Documentation [ci skip]
This commit is contained in:
commit
fd6fabbedc
1 changed files with 9 additions and 8 deletions
|
|
@ -5902,6 +5902,7 @@ or testing small journal files not associated with your main financial
|
||||||
database.
|
database.
|
||||||
|
|
||||||
@item --debug @var{CODE}
|
@item --debug @var{CODE}
|
||||||
|
@value{FIXME:UNDOCUMENTED}
|
||||||
If ledger has been built with debug options this will provide extra data during
|
If ledger has been built with debug options this will provide extra data during
|
||||||
the run.
|
the run.
|
||||||
|
|
||||||
|
|
@ -6756,8 +6757,8 @@ week.
|
||||||
|
|
||||||
@item --subtotal
|
@item --subtotal
|
||||||
@itemx -s
|
@itemx -s
|
||||||
Group all postings together. This is very similar to the totals shown by
|
Cause all transactions in a @command{register} report to be collapsed
|
||||||
the balance report.
|
into a single, subtotaled transaction.
|
||||||
|
|
||||||
@item --tail @var{INT}
|
@item --tail @var{INT}
|
||||||
@itemx --last @var{INT}
|
@itemx --last @var{INT}
|
||||||
|
|
@ -8246,8 +8247,8 @@ Evaluate @var{string} as format just like the @option{--format} option.
|
||||||
@end defun
|
@end defun
|
||||||
|
|
||||||
@defun format_date date format
|
@defun format_date date format
|
||||||
Return the @var{date} as a string using @var{format}. See strftime (3)
|
Return the @var{date} as a string using @var{format}. See
|
||||||
for format string details.
|
@code{strftime (3)} for format string details.
|
||||||
@smallexample @c command:9605B13,with_input:3406FC1
|
@smallexample @c command:9605B13,with_input:3406FC1
|
||||||
$ ledger -f expr.dat --format "%(format_date(date, '%A, %B %d. %Y'))\n" reg assets
|
$ ledger -f expr.dat --format "%(format_date(date, '%A, %B %d. %Y'))\n" reg assets
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
@ -8257,8 +8258,8 @@ Friday, January 16. 2015
|
||||||
@end defun
|
@end defun
|
||||||
|
|
||||||
@defun format_datetime datetime format
|
@defun format_datetime datetime format
|
||||||
Return the @var{datetime} as a string using @var{format}. Refer to strftime (3)
|
Return the @var{datetime} as a string using @var{format}. Refer to
|
||||||
for format string details.
|
@code{strftime (3)} for format string details.
|
||||||
@end defun
|
@end defun
|
||||||
|
|
||||||
@defun get_at sequence index
|
@defun get_at sequence index
|
||||||
|
|
@ -8599,8 +8600,8 @@ $ ledger -f expr.dat --format "%12(5*O)\n" reg assets
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
@item [DATEFMT]
|
@item [DATEFMT]
|
||||||
Inserts the result of formatting a posting's date with a date
|
Inserts the result of formatting a posting's date with a date format
|
||||||
format string, exactly like those supported by strftime (3). For
|
string, exactly like those supported by @code{strftime (3)}. For
|
||||||
example: @samp{%[%Y/%m/%d %H:%M:%S]}.
|
example: @samp{%[%Y/%m/%d %H:%M:%S]}.
|
||||||
|
|
||||||
@item S
|
@item S
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue