.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH BEAN-FORMAT "1" "November 2020" "bean-format 2.3.3" "User Commands" .SH NAME bean-format \- pretty print and align a Beancount ledger .SH DESCRIPTION usage: bean\-format [\-h] [\-\-version] [\-o OUTPUT] [\-w PREFIX_WIDTH] .IP [\-W NUM_WIDTH] [\-c CURRENCY_COLUMN] [filename] .PP Align a beancount/ledger input file's numbers. This reformats at beancount or ledger input file so that the amounts in the postings are all aligned to the same column. The currency should match. Note: this does not parse the Beancount ledger. It simply uses regular expressions and text manipulations to do its work. .SS "positional arguments:" .TP filename Beancount filename .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-version\fR, \fB\-V\fR show program's version number and exit .TP \fB\-o\fR OUTPUT, \fB\-\-output\fR OUTPUT Output file (stdout if not specified) .TP \fB\-w\fR PREFIX_WIDTH, \fB\-\-prefix\-width\fR PREFIX_WIDTH Use this prefix width instead of determining an optimal value automatically .TP \fB\-W\fR NUM_WIDTH, \fB\-\-num\-width\fR NUM_WIDTH Use this width to render numbers instead of determining an optimal value .TP \fB\-c\fR CURRENCY_COLUMN, \fB\-\-currency\-column\fR CURRENCY_COLUMN Align currencies in this column.