fix: use long options in README

This commit is contained in:
teutat3s 2023-12-31 17:01:09 +01:00
parent ce1b0d862f
commit 8479268e0c
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -32,7 +32,7 @@ hledger-web --file ./finances.hledger
Writing a HTML table to the README
```
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 -O html >> README.md
hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop 1 --output-format html >> README.md
```
### Finances report table
@ -41,4 +41,4 @@ hledger incomestatement --file ./finances.hledger --layout bare --pretty --drop
td { padding:0 0.5em; }
td:nth-child(1) { white-space:nowrap; }
tr:nth-child(even) td { background-color:#eee; }
</style><link rel="stylesheet" href="hledger.css"><table><tr><th colspan="3" style="text-align:left"><h2>Income Statement 2023-01-10..2023-12-19</h2></th></tr><tr><th></th><th>Commodity</th><th>2023-01-10..2023-12-19</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th colspan="3" style="text-align:left">Revenues</th></tr><tr><td class="account" style="text-align:left">donations:member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">365.00</td></tr><tr><td class="account" style="text-align:left">donations:non-member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">87.00</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">452.00</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th colspan="3" style="text-align:left">Expenses</th></tr><tr><td class="account" style="text-align:left">infra:domain</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">52.40</td></tr><tr><td class="account" style="text-align:left">infra:file-storage</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">26.02</td></tr><tr><td class="account" style="text-align:left">infra:server</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">124.47</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">202.89</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th style="text-align:left">Net:</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">249.11</th></tr></table>
</style><link rel="stylesheet" href="hledger.css"><table><tr><th colspan="3" style="text-align:left"><h2>Income Statement 2023-01-10..2023-12-28</h2></th></tr><tr><th></th><th>Commodity</th><th>2023-01-10..2023-12-28</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th colspan="3" style="text-align:left">Revenues</th></tr><tr><td class="account" style="text-align:left">donations:member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">415.00</td></tr><tr><td class="account" style="text-align:left">donations:non-member</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">87.00</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">502.00</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th colspan="3" style="text-align:left">Expenses</th></tr><tr><td class="account" style="text-align:left">infra:domain</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">52.40</td></tr><tr><td class="account" style="text-align:left">infra:file-storage</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">26.02</td></tr><tr><td class="account" style="text-align:left">infra:server</td><td class="amount" style="text-align:right"></td><td class="amount" style="text-align:right">124.47</td></tr><tr><th style="text-align:left">total</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">202.89</th></tr><tr><td colspan="3">&nbsp;</td></tr><tr><th style="text-align:left">Net:</th><th class="amount coltotal" style="text-align:right"></th><th class="amount coltotal" style="text-align:right">299.11</th></tr></table>