.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH BEAN-DOCTOR "1" "November 2020" "bean-doctor 2.3.3" "User Commands" .SH NAME bean-doctor \- Beancount debugging tool .SH DESCRIPTION usage: bean\-doctor [\-h] [\-\-version] command [filename] [rest [rest ...]] .PP Debugging tool for those finding bugs in Beancount. .PP This tool is able to dump lexer/parser state, and will provide other services in the name of debugging. .SS "positional arguments:" .TP command The command to run. .TP filename Beancount input filename. .TP rest All remaining arguments. .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 .SS "Available Commands:" .TP lex : Dump the lexer output for a Beancount syntax file. .TP dump_lexer : Dump the lexer output for a Beancount syntax file. .TP parse : Run the parser in debug mode. .TP roundtrip : Round\-trip test on arbitrary Ledger. .TP directories : Validate a directory hierarchy against a ledger's account names. .TP list_options : Print out a list of the available options. .TP print_options : Print out the actual options parsed from a file. .TP deps : Report on the runtime dependencies. .TP checkdeps : Report on the runtime dependencies. .TP context : Describe the context that a particular transaction is applied to. .TP linked : Print out a list of transactions linked to the one at the given line. .TP missing_open : Print out Open directives that are missing for the given input file. .TP display_context : Print out the precision inferred from the parsed numbers in the input file. .TP validate_html : Validate all the HTML files under a directory hierarchy.