Try recompiling and running the command correctly.
Try that?
* mike marcott <
marco...@gmail.com> [2025-08-21 :32:36]:
> __ __ __
> / / / /__ ___/ /__ ____ ____
> / _ \/ / -_) _ / _ `/ -_) __/
> /_//_/_/\__/\_,_/\_, /\__/_/
> /___/
> -------------------------------------------------------------------------------
> hledger 1.42.1, openbsd-x86_64
> Usage: hledger COMMAND [OPTIONS] [-- ADDONOPTIONS]
> Commands:
>
> HELP (docs, demos..)
> commands show the commands list (default)
> demo [DEMO] show brief demos in the terminal
> help [-i|-m|-p] [TOPIC] show the hledger manual with info/man/pager
> --tldr [COMMAND] show command examples [for command] with tldr
> --help/-h [COMMAND] show command line help [for command]
> --info [COMMAND] show the hledger manual [for command] with info
> --man [COMMAND] show the hledger manual [for command] with man
> more help:
https://hledger.org
>
> USER INTERFACES (alternate UIs)
> repl run commands from an interactive prompt
> run run command scripts from files or arguments
>
> ENTERING DATA (add or edit transactions)
> add add transactions using interactive prompts
> import add new transactions from other files, eg CSV files
>
> BASIC REPORTS (simple lists)
> accounts show account names
> codes show transaction codes
> commodities show commodity/currency symbols
> descriptions show transaction descriptions
> files show data files in use
> notes show note part of transaction descriptions
> payees show payee part of transaction descriptions
> prices show historical market prices
> stats show journal statistics
> tags show tag names
>
> STANDARD REPORTS (the most useful financial reports)
> print show full transaction entries, or export journal data
> aregister (areg) show transactions & running balance in one account
> register (reg) show postings & running total in one or more accounts
> balancesheet (bs) show assets and liabilities
> balancesheetequity (bse) show assets, liabilities and equity
> cashflow (cf) show changes in liquid assets
> incomestatement (is) show revenues and expenses
>
> ADVANCED REPORTS (more versatile/advanced reports)
> balance (bal) show balance changes, end balances, gains, budgets..
> roi show return on investments
>
> CHARTS (bar charts, line graphs..)
> activity show posting counts as a bar chart
>
> GENERATING DATA (generate or download journal entries; less common)
> close generate transactions to zero/restore/assert balances
> rewrite add postings to transactions, like print --auto
>
> MAINTENANCE (error checking, data management..)
> check run any of hledger's built-in correctness checks
> diff compare an account's transactions in two journals
> test run some self tests
>
> OTHER ADDONS (more hledger-* commands found in PATH):
>