Skip to content

Instantly share code, notes, and snippets.

Created December 21, 2012 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4354489 to your computer and use it in GitHub Desktop.
Save anonymous/4354489 to your computer and use it in GitHub Desktop.
hledger --width design notes

The --width/-w flag adjusts the width of the register command's output. Eg:

-w 100

With multiple comma-separated widths, it sets individual field widths:

-w 10,20,30,10,10

A width of "auto" means be as wide as necessary to avoid clipping any fields, up to the current terminal width if that can be detected:

-w auto

Individual fields can also have auto width. The exact semantics of this are TBD:

-w 10,20,auto,auto,auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment