imp: config file: sample: simplify

This commit is contained in:
Simon Michael 2024-06-25 10:14:05 +01:00
parent b8706dee56
commit 26978ffc26

View File

@ -1,14 +1,9 @@
#!/usr/bin/env -S hledger --conf
# hledger.conf - extra options(/arguments) to be added to hledger commands.
# This can be placed in current dir or above, or ~/.hledger.conf, or ~/.config/hledger/,
# or specified with --conf, or executed with a shebang line like the above.
# hledger looks for a hledger.conf file in the current directory or above,
# or in your home directory with a dotted name: $HOME/.hledger.conf,
# or in your XDG config directory: $HOME/.config/hledger/hledger.conf.
# You can also execute a conf file with a shebang line like the one above.
# 1. This first, unnamed section is typically used for general options.
# These affect all commands, or when not supported will be ignored.
# To see the general options available, run hledger -h
# Options/arguments for all commands (which support them):
# don't check balance assertions by default (run with -s to check them)
--ignore-assertions
@ -22,15 +17,13 @@
--pretty
# 2. [named] sections define extra command-specific options.
# Options can be written on the same line or separate lines.
# To see a command's options, run hledger CMD -h
# Options/arguments for specific commands:
# help: prefer man pages, bypassing info
# [help] --man
[print]
--explicit # show missing amounts
--show-costs # show costs
# print: show more info by default
[print] --explicit --show-costs
# [help] --man # prefer man over info
# balance commands: use these defaults
[balance] --tree -p 'monthly from 3 months ago' --depth 3