Skip to content

Commit 7a83578

Browse files
committed
;doc: update manuals
1 parent 5b9f942 commit 7a83578

File tree

13 files changed

+1811
-1878
lines changed

13 files changed

+1811
-1878
lines changed

hledger-lib/.date.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
m4_dnl Date to show in man pages. Updated by "Shake manuals"
2-
m4_define({{_monthyear_}}, {{May 2024}})m4_dnl
2+
m4_define({{_monthyear_}}, {{June 2024}})m4_dnl

hledger-ui/.date.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
m4_dnl Date to show in man pages. Updated by "Shake manuals"
2-
m4_define({{_monthyear_}}, {{May 2024}})m4_dnl
2+
m4_define({{_monthyear_}}, {{June 2024}})m4_dnl

hledger-ui/hledger-ui.1

+31-52
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
.TH "HLEDGER\-UI" "1" "May 2024" "hledger-ui-1.34 " "hledger User Manuals"
2+
.TH "HLEDGER\-UI" "1" "June 2024" "hledger-ui-1.34 " "hledger User Manuals"
33

44

55

@@ -11,6 +11,10 @@ robust, friendly plain text accounting app.
1111
.PD 0
1212
.P
1313
.PD
14+
or
15+
.PD 0
16+
.P
17+
.PD
1418
\f[CR]hledger ui \-\- [OPTS] [QUERYARGS]\f[R]
1519
.SH DESCRIPTION
1620
This manual is for hledger\[aq]s terminal interface, version 1.34.
@@ -42,47 +46,27 @@ They can be revealed, along with any rule\-generated periodic
4246
transactions, by pressing the F key (or starting with \-\-forecast) to
4347
enable \[dq]forecast mode\[dq].
4448
.SH OPTIONS
45-
Any QUERYARGS are interpreted as a hledger search query which filters
46-
the data.
47-
.PP
49+
Any arguments are interpreted as a hledger query which filters the data.
4850
hledger\-ui provides the following options:
49-
.TP
50-
\f[CR]\-w \-\-watch\f[R]
51-
watch for data and date changes and reload automatically
52-
.TP
53-
\f[CR]\-\-theme=default|terminal|greenterm|dark\f[R]
54-
use this custom display theme
55-
.TP
56-
\f[CR]\-\-menu\f[R]
57-
start in the menu screen
58-
.TP
59-
\f[CR]\-\-cash\f[R]
60-
start in the cash accounts screen
61-
.TP
62-
\f[CR]\-\-bs\f[R]
63-
start in the balance sheet accounts screen
64-
.TP
65-
\f[CR]\-\-is\f[R]
66-
start in the income statement accounts screen
67-
.TP
68-
\f[CR]\-\-all\f[R]
69-
start in the all accounts screen
70-
.TP
71-
\f[CR]\-\-register=ACCTREGEX\f[R]
72-
start in the (first) matched account\[aq]s register screen
73-
.TP
74-
\f[CR]\-\-change\f[R]
75-
show period balances (changes) at startup instead of historical balances
76-
.TP
77-
\f[CR]\-l \-\-flat\f[R]
78-
show accounts as a flat list (default)
79-
.TP
80-
\f[CR]\-t \-\-tree\f[R]
81-
show accounts as a tree
82-
.PP
83-
hledger\-ui also supports many of hledger\[aq]s general options (and the
84-
hledger manual\[aq]s command line tips also apply here):
85-
.SS General options
51+
.IP
52+
.EX
53+
Flags:
54+
\-w \-\-watch watch for data and date changes and reload
55+
automatically
56+
\-\-theme=THEME use this custom display theme (default,
57+
greenterm, terminal, dark)
58+
\-\-cash start in the cash accounts screen
59+
\-\-bs start in the balance sheet accounts screen
60+
\-\-is start in the income statement accounts screen
61+
\-\-all start in the all accounts screen
62+
\-\-register=ACCTREGEX start in the (first matched) account\[aq]s register
63+
\-\-change show period balances (changes) at startup instead
64+
of historical balances
65+
\-l \-\-flat show accounts as a flat list (default)
66+
\-t \-\-tree show accounts as a tree
67+
.EE
68+
.PP
69+
and also supports many of hledger\[aq]s general options:
8670
.IP
8771
.EX
8872
General input/data transformation flags:
@@ -151,7 +135,6 @@ General output/reporting flags (supported by some commands):
151135
Eg: \-c \[aq].\[aq] or \-c \[aq]1.000,00 EUR\[aq]
152136
\-\-color=YN \-\-colour Use ANSI color codes in text output? Can be
153137
\[aq]y\[aq]/\[aq]yes\[aq]/\[aq]always\[aq], \[aq]n\[aq]/\[aq]no\[aq]/\[aq]never\[aq] or \[aq]auto\[aq].
154-
(A NO_COLOR environment variable overrides this.)
155138
\-\-pretty[=YN] Use box\-drawing characters in text output? Can be
156139
\[aq]y\[aq]/\[aq]yes\[aq] or \[aq]n\[aq]/\[aq]no\[aq].
157140
If YN is specified, the equals is required.
@@ -160,10 +143,13 @@ General output/reporting flags (supported by some commands):
160143
General help flags:
161144
\-h \-\-help show command line help
162145
\-\-tldr show command examples with tldr
163-
\-\-info show the hledger manual with info
164-
\-\-man show the hledger manual with man
146+
\-\-info show the manual with info
147+
\-\-man show the manual with man
165148
\-\-version show version information
166149
.EE
150+
.PP
151+
With hledger\-ui, the \f[CR]\-\-debug\f[R] option sends debug output to
152+
a \f[CR]hledger\-ui.log\f[R] file in the current directory.
167153
.SH MOUSE
168154
In most modern terminals, you can navigate through the screens with a
169155
mouse or touchpad:
@@ -417,8 +403,7 @@ when you press g to reload.
417403
Once you have fixed the problem, press g again to reload and resume
418404
normal operation.
419405
(Or, you can press escape to cancel the reload attempt.)
420-
.SH TIPS
421-
.SS Watch mode
406+
.SH WATCH MODE
422407
One of hledger\-ui\[aq]s best features is the auto\-reloading
423408
\f[CR]\-w/\-\-watch\f[R] mode.
424409
With this flag, it will update the display automatically whenever
@@ -458,12 +443,6 @@ know.)
458443
.PP
459444
If you are viewing files mounted from another machine, the system clocks
460445
on both machines should be roughly in agreement.
461-
.SS Debug output
462-
You can add \f[CR]\-\-debug[=N]\f[R] to the command line to log debug
463-
output.
464-
This will be logged to the file \f[CR]hledger\-ui.log\f[R] in the
465-
current directory.
466-
N ranges from 1 (least output, the default) to 9 (maximum output).
467446
.SH ENVIRONMENT
468447
\f[B]COLUMNS\f[R] The screen width to use.
469448
Default: the full terminal width.

hledger-ui/hledger-ui.info

+61-118
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ hledger-ui - terminal interface (TUI) for 'hledger', a robust, friendly
1515
plain text accounting app.
1616

1717
'hledger-ui [OPTS] [QUERYARGS]'
18+
or
1819
'hledger ui -- [OPTS] [QUERYARGS]'
1920

2021
This manual is for hledger's terminal interface, version 1.34. See
@@ -49,7 +50,7 @@ enable "forecast mode".
4950
* MOUSE::
5051
* KEYS::
5152
* SCREENS::
52-
* TIPS::
53+
* WATCH MODE::
5354
* ENVIRONMENT::
5455
* BUGS::
5556

@@ -59,58 +60,25 @@ File: hledger-ui.info, Node: OPTIONS, Next: MOUSE, Prev: Top, Up: Top
5960
1 OPTIONS
6061
*********
6162

62-
Any QUERYARGS are interpreted as a hledger search query which filters
63-
the data.
64-
65-
hledger-ui provides the following options:
66-
67-
'-w --watch'
68-
69-
watch for data and date changes and reload automatically
70-
'--theme=default|terminal|greenterm|dark'
71-
72-
use this custom display theme
73-
'--menu'
74-
75-
start in the menu screen
76-
'--cash'
77-
78-
start in the cash accounts screen
79-
'--bs'
80-
81-
start in the balance sheet accounts screen
82-
'--is'
83-
84-
start in the income statement accounts screen
85-
'--all'
86-
87-
start in the all accounts screen
88-
'--register=ACCTREGEX'
89-
90-
start in the (first) matched account's register screen
91-
'--change'
92-
93-
show period balances (changes) at startup instead of historical
94-
balances
95-
'-l --flat'
96-
97-
show accounts as a flat list (default)
98-
'-t --tree'
99-
100-
show accounts as a tree
101-
102-
hledger-ui also supports many of hledger's general options (and the
103-
hledger manual's command line tips also apply here):
104-
105-
* Menu:
106-
107-
* General options::
108-
109-

110-
File: hledger-ui.info, Node: General options, Up: OPTIONS
111-
112-
1.1 General options
113-
===================
63+
Any arguments are interpreted as a hledger query which filters the data.
64+
hledger-ui provides the following options:
65+
66+
Flags:
67+
-w --watch watch for data and date changes and reload
68+
automatically
69+
--theme=THEME use this custom display theme (default,
70+
greenterm, terminal, dark)
71+
--cash start in the cash accounts screen
72+
--bs start in the balance sheet accounts screen
73+
--is start in the income statement accounts screen
74+
--all start in the all accounts screen
75+
--register=ACCTREGEX start in the (first matched) account's register
76+
--change show period balances (changes) at startup instead
77+
of historical balances
78+
-l --flat show accounts as a flat list (default)
79+
-t --tree show accounts as a tree
80+
81+
and also supports many of hledger's general options:
11482

11583
General input/data transformation flags:
11684
-f --file=FILE Read data from FILE, or from stdin if -. Can be
@@ -178,7 +146,6 @@ General output/reporting flags (supported by some commands):
178146
Eg: -c '.' or -c '1.000,00 EUR'
179147
--color=YN --colour Use ANSI color codes in text output? Can be
180148
'y'/'yes'/'always', 'n'/'no'/'never' or 'auto'.
181-
(A NO_COLOR environment variable overrides this.)
182149
--pretty[=YN] Use box-drawing characters in text output? Can be
183150
'y'/'yes' or 'n'/'no'.
184151
If YN is specified, the equals is required.
@@ -187,10 +154,13 @@ General output/reporting flags (supported by some commands):
187154
General help flags:
188155
-h --help show command line help
189156
--tldr show command examples with tldr
190-
--info show the hledger manual with info
191-
--man show the hledger manual with man
157+
--info show the manual with info
158+
--man show the manual with man
192159
--version show version information
193160

161+
With hledger-ui, the '--debug' option sends debug output to a
162+
'hledger-ui.log' file in the current directory.
163+
194164

195165
File: hledger-ui.info, Node: MOUSE, Next: KEYS, Prev: OPTIONS, Up: Top
196166

@@ -309,7 +279,7 @@ amount values.
309279
Additional screen-specific keys are described below.
310280

311281

312-
File: hledger-ui.info, Node: SCREENS, Next: TIPS, Prev: KEYS, Up: Top
282+
File: hledger-ui.info, Node: SCREENS, Next: WATCH MODE, Prev: KEYS, Up: Top
313283

314284
4 SCREENS
315285
*********
@@ -485,21 +455,10 @@ again to reload and resume normal operation. (Or, you can press escape
485455
to cancel the reload attempt.)
486456

487457

488-
File: hledger-ui.info, Node: TIPS, Next: ENVIRONMENT, Prev: SCREENS, Up: Top
489-
490-
5 TIPS
491-
******
492-
493-
* Menu:
458+
File: hledger-ui.info, Node: WATCH MODE, Next: ENVIRONMENT, Prev: SCREENS, Up: Top
494459

495-
* Watch mode::
496-
* Debug output::
497-
498-

499-
File: hledger-ui.info, Node: Watch mode, Next: Debug output, Up: TIPS
500-
501-
5.1 Watch mode
502-
==============
460+
5 WATCH MODE
461+
************
503462

504463
One of hledger-ui's best features is the auto-reloading '-w/--watch'
505464
mode. With this flag, it will update the display automatically whenever
@@ -536,17 +495,7 @@ work around, press 'g' to reload manually, or try #1617's
536495
clocks on both machines should be roughly in agreement.
537496

538497

539-
File: hledger-ui.info, Node: Debug output, Prev: Watch mode, Up: TIPS
540-
541-
5.2 Debug output
542-
================
543-
544-
You can add '--debug[=N]' to the command line to log debug output. This
545-
will be logged to the file 'hledger-ui.log' in the current directory. N
546-
ranges from 1 (least output, the default) to 9 (maximum output).
547-
548-

549-
File: hledger-ui.info, Node: ENVIRONMENT, Next: BUGS, Prev: TIPS, Up: Top
498+
File: hledger-ui.info, Node: ENVIRONMENT, Next: BUGS, Prev: WATCH MODE, Up: Top
550499

551500
6 ENVIRONMENT
552501
*************
@@ -581,42 +530,36 @@ above).
581530

582531
Tag Table:
583532
Node: Top221
584-
Node: OPTIONS1861
585-
Ref: #options1959
586-
Node: General options2926
587-
Ref: #general-options3030
588-
Node: MOUSE8180
589-
Ref: #mouse8275
590-
Node: KEYS8512
591-
Ref: #keys8605
592-
Node: SCREENS13260
593-
Ref: #screens13358
594-
Node: Menu screen13994
595-
Ref: #menu-screen14115
596-
Node: Cash accounts screen14310
597-
Ref: #cash-accounts-screen14487
598-
Node: Balance sheet accounts screen14671
599-
Ref: #balance-sheet-accounts-screen14887
600-
Node: Income statement accounts screen15007
601-
Ref: #income-statement-accounts-screen15228
602-
Node: All accounts screen15392
603-
Ref: #all-accounts-screen15573
604-
Node: Register screen15755
605-
Ref: #register-screen15914
606-
Node: Transaction screen18198
607-
Ref: #transaction-screen18356
608-
Node: Error screen19773
609-
Ref: #error-screen19895
610-
Node: TIPS20139
611-
Ref: #tips20238
612-
Node: Watch mode20280
613-
Ref: #watch-mode20387
614-
Node: Debug output21846
615-
Ref: #debug-output21957
616-
Node: ENVIRONMENT22169
617-
Ref: #environment22279
618-
Node: BUGS22470
619-
Ref: #bugs22553
533+
Node: OPTIONS1870
534+
Ref: #options1968
535+
Node: MOUSE8148
536+
Ref: #mouse8243
537+
Node: KEYS8480
538+
Ref: #keys8573
539+
Node: SCREENS13228
540+
Ref: #screens13332
541+
Node: Menu screen13968
542+
Ref: #menu-screen14089
543+
Node: Cash accounts screen14284
544+
Ref: #cash-accounts-screen14461
545+
Node: Balance sheet accounts screen14645
546+
Ref: #balance-sheet-accounts-screen14861
547+
Node: Income statement accounts screen14981
548+
Ref: #income-statement-accounts-screen15202
549+
Node: All accounts screen15366
550+
Ref: #all-accounts-screen15547
551+
Node: Register screen15729
552+
Ref: #register-screen15888
553+
Node: Transaction screen18172
554+
Ref: #transaction-screen18330
555+
Node: Error screen19747
556+
Ref: #error-screen19869
557+
Node: WATCH MODE20113
558+
Ref: #watch-mode20230
559+
Node: ENVIRONMENT21689
560+
Ref: #environment21805
561+
Node: BUGS21996
562+
Ref: #bugs22079
620563

621564
End Tag Table
622565

0 commit comments

Comments
 (0)