regen cli help, manuals

[ci skip]
This commit is contained in:
Simon Michael 2019-02-14 04:12:25 -08:00
parent d7a815fc08
commit 17c4a47a85
4 changed files with 26 additions and 88 deletions

View File

@ -1753,54 +1753,13 @@ after auto postings are added.
This changed in hledger 1.12+; see #893 for background. This changed in hledger 1.12+; see #893 for background.
.SH EDITOR SUPPORT .SH EDITOR SUPPORT
.PP .PP
Add\-on modes exist for various text editors, to make working with Helper modes exist for popular text editors, which make working with
journal files easier. journal files easier.
They add colour, navigation aids and helpful commands. They add colour, formatting, tab completion, and helpful commands, and
For hledger users who edit the journal file directly (the majority), are quite recommended if you edit your journal with a text editor.
using one of these modes is quite recommended. They include ledger\-mode or hledger\-mode for Emacs, vim\-ledger for
.PP Vim, hledger\-vscode for Visual Studio Code, and others.
These were written with Ledger in mind, but also work with hledger See the [[Cookbook]] at hledger.org for the latest information.
files:
.PP
.TS
tab(@);
lw(12.2n) lw(57.8n).
T{
Editor
T}@T{
T}
_
T{
Emacs
T}@T{
http://www.ledger\-cli.org/3.0/doc/ledger\-mode.html
T}
T{
Vim
T}@T{
https://github.com/ledger/vim\-ledger
T}
T{
Sublime Text
T}@T{
https://github.com/ledger/ledger/wiki/Editing\-Ledger\-files\-with\-Sublime\-Text\-or\-RubyMine
T}
T{
Textmate
T}@T{
https://github.com/ledger/ledger/wiki/Using\-TextMate\-2
T}
T{
Text Wrangler \
T}@T{
https://github.com/ledger/ledger/wiki/Editing\-Ledger\-files\-with\-TextWrangler
T}
T{
Visual Studio Code
T}@T{
https://marketplace.visualstudio.com/items?itemName=mark\-hansen.hledger\-vscode
T}
.TE
.SH "REPORTING BUGS" .SH "REPORTING BUGS"

View File

@ -1581,26 +1581,12 @@ File: hledger_journal.info, Node: EDITOR SUPPORT, Prev: FILE FORMAT, Up: Top
2 EDITOR SUPPORT 2 EDITOR SUPPORT
**************** ****************
Add-on modes exist for various text editors, to make working with Helper modes exist for popular text editors, which make working with
journal files easier. They add colour, navigation aids and helpful journal files easier. They add colour, formatting, tab completion, and
commands. For hledger users who edit the journal file directly (the helpful commands, and are quite recommended if you edit your journal
majority), using one of these modes is quite recommended. with a text editor. They include ledger-mode or hledger-mode for Emacs,
vim-ledger for Vim, hledger-vscode for Visual Studio Code, and others.
These were written with Ledger in mind, but also work with hledger See the [[Cookbook]] at hledger.org for the latest information.
files:
Editor
--------------------------------------------------------------------------
Emacs http://www.ledger-cli.org/3.0/doc/ledger-mode.html
Vim https://github.com/ledger/vim-ledger
Sublime https://github.com/ledger/ledger/wiki/Editing-Ledger-files-with-Sublime-Text-or-RubyMine
Text
Textmate https://github.com/ledger/ledger/wiki/Using-TextMate-2
Text https://github.com/ledger/ledger/wiki/Editing-Ledger-files-with-TextWrangler
Wrangler
Visual https://marketplace.visualstudio.com/items?itemName=mark-hansen.hledger-vscode
Studio
Code
 
Tag Table: Tag Table:

View File

@ -1275,27 +1275,13 @@ FILE FORMAT
for background. for background.
EDITOR SUPPORT EDITOR SUPPORT
Add-on modes exist for various text editors, to make working with jour- Helper modes exist for popular text editors, which make working with
nal files easier. They add colour, navigation aids and helpful com- journal files easier. They add colour, formatting, tab completion, and
mands. For hledger users who edit the journal file directly (the helpful commands, and are quite recommended if you edit your journal
majority), using one of these modes is quite recommended. with a text editor. They include ledger-mode or hledger-mode for
Emacs, vim-ledger for Vim, hledger-vscode for Visual Studio Code, and
These were written with Ledger in mind, but also work with hledger others. See the [[Cookbook]] at hledger.org for the latest informa-
files: tion.
Editor
--------------------------------------------------------------------------
Emacs http://www.ledger-cli.org/3.0/doc/ledger-mode.html
Vim https://github.com/ledger/vim-ledger
Sublime Text https://github.com/ledger/ledger/wiki/Edit-
ing-Ledger-files-with-Sublime-Text-or-RubyMine
Textmate https://github.com/ledger/ledger/wiki/Using-TextMate-2
Text Wran- https://github.com/ledger/ledger/wiki/Edit-
gler ing-Ledger-files-with-TextWrangler
Visual Stu- https://marketplace.visualstudio.com/items?item-
dio Code Name=mark-hansen.hledger-vscode

View File

@ -35,6 +35,13 @@ and one commodity.
The --related/-r flag shows the _other_ postings in the transactions of The --related/-r flag shows the _other_ postings in the transactions of
the postings which would normally be shown. the postings which would normally be shown.
The --invert flag negates all amounts. For example, it can be used on an
income account where amounts are normally displayed as negative numbers.
It's also useful to show postings on the checking account together with
the related account:
$ hledger register --related --invert assets:checking
With a reporting interval, register shows summary postings, one per With a reporting interval, register shows summary postings, one per
interval, aggregating the postings to each account: interval, aggregating the postings to each account: