hledger icon indicating copy to clipboard operation
hledger copied to clipboard

cli: unclear error with an unknown command plus unknown flag

Open simonmichael opened this issue 6 months ago • 2 comments
trafficstars

Reported by chreekat:

hledger: Error: Unknown flag: --sort (use -h to see usage)

context was a wrapper script I am writing. I had a bug that created a nonsense command, and all I got was this misleading error

simonmichael avatar May 15 '25 19:05 simonmichael