mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
doc: another help flag consistency fix
This commit is contained in:
parent
656734ccd3
commit
f0baa30db0
@ -56,7 +56,7 @@ m4_dnl
|
||||
m4_define({{_generaloptions_}}, {{
|
||||
|
||||
`-h`
|
||||
: show general usage (or if after COMMAND, the command's usage)
|
||||
: show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
`--help`
|
||||
: show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual)
|
||||
|
@ -69,7 +69,7 @@ print API docs in Swagger 2.0 format, and exit
|
||||
.RE
|
||||
.TP
|
||||
.B \f[C]\-h\f[]
|
||||
show general usage (or if after COMMAND, the command\[aq]s usage)
|
||||
show general usage (or after COMMAND, the command\[aq]s usage)
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
@ -50,7 +50,7 @@ before options as shown above.
|
||||
print API docs in Swagger 2.0 format, and exit
|
||||
|
||||
`-h'
|
||||
show general usage (or if after COMMAND, the command's usage)
|
||||
show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
`--help'
|
||||
show the current program's manual as plain text (or after an add-on
|
||||
|
@ -50,7 +50,7 @@ OOPPTTIIOONNSS
|
||||
----sswwaaggggeerr
|
||||
print API docs in Swagger 2.0 format, and exit
|
||||
|
||||
--hh show general usage (or if after COMMAND, the command's usage)
|
||||
--hh show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
----hheellpp show the current program's manual as plain text (or after an
|
||||
add-on COMMAND, the add-on's manual)
|
||||
|
@ -70,7 +70,7 @@ commodity (accounts screen only)
|
||||
.RE
|
||||
.TP
|
||||
.B \f[C]\-h\f[]
|
||||
show general usage (or if after COMMAND, the command\[aq]s usage)
|
||||
show general usage (or after COMMAND, the command\[aq]s usage)
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
@ -55,7 +55,7 @@ the data.
|
||||
valuation commodity (accounts screen only)
|
||||
|
||||
`-h'
|
||||
show general usage (or if after COMMAND, the command's usage)
|
||||
show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
`--help'
|
||||
show the current program's manual as plain text (or after an add-on
|
||||
@ -287,19 +287,19 @@ Tag Table:
|
||||
Node: Top88
|
||||
Node: OPTIONS714
|
||||
Ref: #options813
|
||||
Node: hledger options2137
|
||||
Ref: #hledger-options2243
|
||||
Node: KEYS3426
|
||||
Ref: #keys3523
|
||||
Node: SCREENS3920
|
||||
Ref: #screens4007
|
||||
Node: Accounts screen4097
|
||||
Ref: #accounts-screen4227
|
||||
Node: Register screen5072
|
||||
Ref: #register-screen5229
|
||||
Node: Transaction screen6611
|
||||
Ref: #transaction-screen6771
|
||||
Node: Error screen7638
|
||||
Ref: #error-screen7762
|
||||
Node: hledger options2134
|
||||
Ref: #hledger-options2240
|
||||
Node: KEYS3423
|
||||
Ref: #keys3520
|
||||
Node: SCREENS3917
|
||||
Ref: #screens4004
|
||||
Node: Accounts screen4094
|
||||
Ref: #accounts-screen4224
|
||||
Node: Register screen5069
|
||||
Ref: #register-screen5226
|
||||
Node: Transaction screen6608
|
||||
Ref: #transaction-screen6768
|
||||
Node: Error screen7635
|
||||
Ref: #error-screen7759
|
||||
|
||||
End Tag Table
|
||||
|
@ -54,7 +54,7 @@ OOPPTTIIOONNSS
|
||||
show amounts as their current market value in their default val-
|
||||
uation commodity (accounts screen only)
|
||||
|
||||
--hh show general usage (or if after COMMAND, the command's usage)
|
||||
--hh show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
----hheellpp show the current program's manual as plain text (or after an
|
||||
add-on COMMAND, the add-on's manual)
|
||||
|
@ -115,7 +115,7 @@ with this.
|
||||
.RE
|
||||
.TP
|
||||
.B \f[C]\-h\f[]
|
||||
show general usage (or if after COMMAND, the command\[aq]s usage)
|
||||
show general usage (or after COMMAND, the command\[aq]s usage)
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
@ -92,7 +92,7 @@ before options as shown above.
|
||||
with this.
|
||||
|
||||
`-h'
|
||||
show general usage (or if after COMMAND, the command's usage)
|
||||
show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
`--help'
|
||||
show the current program's manual as plain text (or after an add-on
|
||||
@ -189,7 +189,7 @@ Tag Table:
|
||||
Node: Top90
|
||||
Node: OPTIONS2868
|
||||
Ref: #options2955
|
||||
Node: hledger options4376
|
||||
Ref: #hledger-options4483
|
||||
Node: hledger options4373
|
||||
Ref: #hledger-options4480
|
||||
|
||||
End Tag Table
|
||||
|
@ -92,7 +92,7 @@ OOPPTTIIOONNSS
|
||||
them from another server for efficiency, you would set the url
|
||||
with this.
|
||||
|
||||
--hh show general usage (or if after COMMAND, the command's usage)
|
||||
--hh show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
----hheellpp show the current program's manual as plain text (or after an
|
||||
add-on COMMAND, the add-on's manual)
|
||||
|
@ -98,7 +98,7 @@ import Hledger.Cli.Version
|
||||
-- | Common help flags: --help, --debug, --version...
|
||||
helpflags :: [Flag RawOpts]
|
||||
helpflags = [
|
||||
flagNone ["h"] (setboolopt "h") "show general usage or (after command) command usage"
|
||||
flagNone ["h"] (setboolopt "h") "show general usage or (after COMMAND, the command's usage"
|
||||
,flagNone ["help"] (setboolopt "help") "show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual)"
|
||||
,flagNone ["man"] (setboolopt "man") "show the current program's manual with man"
|
||||
,flagNone ["info"] (setboolopt "info") "show the current program's manual with info"
|
||||
|
@ -193,7 +193,7 @@ General options are always available and can appear anywhere in the
|
||||
command line:
|
||||
.TP
|
||||
.B \f[C]\-h\f[]
|
||||
show general usage (or if after COMMAND, the command\[aq]s usage)
|
||||
show general usage (or after COMMAND, the command\[aq]s usage)
|
||||
.RS
|
||||
.RE
|
||||
.TP
|
||||
|
@ -159,7 +159,7 @@ QUERIES.
|
||||
available and can appear anywhere in the command line:
|
||||
|
||||
`-h'
|
||||
show general usage (or if after COMMAND, the command's usage)
|
||||
show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
`--help'
|
||||
show the current program's manual as plain text (or after an add-on
|
||||
@ -2043,95 +2043,95 @@ Node: EXAMPLES1748
|
||||
Ref: #examples1850
|
||||
Node: OPTIONS3854
|
||||
Ref: #options3958
|
||||
Node: Multiple files7273
|
||||
Ref: #multiple-files7398
|
||||
Node: Repeated options7663
|
||||
Ref: #repeated-options7815
|
||||
Node: Depth limiting7935
|
||||
Ref: #depth-limiting8080
|
||||
Node: Smart dates8281
|
||||
Ref: #smart-dates8422
|
||||
Node: Reporting interval9419
|
||||
Ref: #reporting-interval9578
|
||||
Node: Period expressions9921
|
||||
Ref: #period-expressions10088
|
||||
Node: Regular Expressions12134
|
||||
Ref: #regular-expressions12276
|
||||
Node: QUERIES13759
|
||||
Ref: #queries13863
|
||||
Node: COMMANDS17165
|
||||
Ref: #commands17279
|
||||
Node: accounts17952
|
||||
Ref: #accounts18052
|
||||
Node: activity19034
|
||||
Ref: #activity19146
|
||||
Node: add19505
|
||||
Ref: #add19606
|
||||
Node: balance22265
|
||||
Ref: #balance22378
|
||||
Node: Flat mode25094
|
||||
Ref: #flat-mode25221
|
||||
Node: Depth limited balance reports25640
|
||||
Ref: #depth-limited-balance-reports25843
|
||||
Node: Multicolumn balance reports26264
|
||||
Ref: #multicolumn-balance-reports26466
|
||||
Node: Market value31115
|
||||
Ref: #market-value31279
|
||||
Node: Custom balance output31772
|
||||
Ref: #custom-balance-output31945
|
||||
Node: Output destination34049
|
||||
Ref: #output-destination34214
|
||||
Node: CSV output34484
|
||||
Ref: #csv-output34603
|
||||
Node: balancesheet35000
|
||||
Ref: #balancesheet35128
|
||||
Node: cashflow35780
|
||||
Ref: #cashflow35897
|
||||
Node: help36587
|
||||
Ref: #help36699
|
||||
Node: incomestatement37536
|
||||
Ref: #incomestatement37666
|
||||
Node: info38393
|
||||
Ref: #info38500
|
||||
Node: man38862
|
||||
Ref: #man38959
|
||||
Node: print39362
|
||||
Ref: #print39467
|
||||
Node: register40818
|
||||
Ref: #register40931
|
||||
Node: Custom register output45272
|
||||
Ref: #custom-register-output45403
|
||||
Node: stats46700
|
||||
Ref: #stats46806
|
||||
Node: test47687
|
||||
Ref: #test47774
|
||||
Node: ADD-ON COMMANDS48141
|
||||
Ref: #add-on-commands48277
|
||||
Node: api49565
|
||||
Ref: #api49657
|
||||
Node: autosync49691
|
||||
Ref: #autosync49806
|
||||
Node: diff52121
|
||||
Ref: #diff52231
|
||||
Node: equity52895
|
||||
Ref: #equity53009
|
||||
Node: interest54337
|
||||
Ref: #interest54454
|
||||
Node: irr57538
|
||||
Ref: #irr57651
|
||||
Node: print-unique60026
|
||||
Ref: #print-unique60156
|
||||
Node: rewrite60414
|
||||
Ref: #rewrite60533
|
||||
Node: ui61062
|
||||
Ref: #ui61162
|
||||
Node: web61203
|
||||
Ref: #web61291
|
||||
Node: TROUBLESHOOTING61324
|
||||
Ref: #troubleshooting61443
|
||||
Node: Run-time problems61497
|
||||
Ref: #run-time-problems61640
|
||||
Node: Known limitations63584
|
||||
Ref: #known-limitations63727
|
||||
Node: Multiple files7270
|
||||
Ref: #multiple-files7395
|
||||
Node: Repeated options7660
|
||||
Ref: #repeated-options7812
|
||||
Node: Depth limiting7932
|
||||
Ref: #depth-limiting8077
|
||||
Node: Smart dates8278
|
||||
Ref: #smart-dates8419
|
||||
Node: Reporting interval9416
|
||||
Ref: #reporting-interval9575
|
||||
Node: Period expressions9918
|
||||
Ref: #period-expressions10085
|
||||
Node: Regular Expressions12131
|
||||
Ref: #regular-expressions12273
|
||||
Node: QUERIES13756
|
||||
Ref: #queries13860
|
||||
Node: COMMANDS17162
|
||||
Ref: #commands17276
|
||||
Node: accounts17949
|
||||
Ref: #accounts18049
|
||||
Node: activity19031
|
||||
Ref: #activity19143
|
||||
Node: add19502
|
||||
Ref: #add19603
|
||||
Node: balance22262
|
||||
Ref: #balance22375
|
||||
Node: Flat mode25091
|
||||
Ref: #flat-mode25218
|
||||
Node: Depth limited balance reports25637
|
||||
Ref: #depth-limited-balance-reports25840
|
||||
Node: Multicolumn balance reports26261
|
||||
Ref: #multicolumn-balance-reports26463
|
||||
Node: Market value31112
|
||||
Ref: #market-value31276
|
||||
Node: Custom balance output31769
|
||||
Ref: #custom-balance-output31942
|
||||
Node: Output destination34046
|
||||
Ref: #output-destination34211
|
||||
Node: CSV output34481
|
||||
Ref: #csv-output34600
|
||||
Node: balancesheet34997
|
||||
Ref: #balancesheet35125
|
||||
Node: cashflow35777
|
||||
Ref: #cashflow35894
|
||||
Node: help36584
|
||||
Ref: #help36696
|
||||
Node: incomestatement37533
|
||||
Ref: #incomestatement37663
|
||||
Node: info38390
|
||||
Ref: #info38497
|
||||
Node: man38859
|
||||
Ref: #man38956
|
||||
Node: print39359
|
||||
Ref: #print39464
|
||||
Node: register40815
|
||||
Ref: #register40928
|
||||
Node: Custom register output45269
|
||||
Ref: #custom-register-output45400
|
||||
Node: stats46697
|
||||
Ref: #stats46803
|
||||
Node: test47684
|
||||
Ref: #test47771
|
||||
Node: ADD-ON COMMANDS48138
|
||||
Ref: #add-on-commands48274
|
||||
Node: api49562
|
||||
Ref: #api49654
|
||||
Node: autosync49688
|
||||
Ref: #autosync49803
|
||||
Node: diff52118
|
||||
Ref: #diff52228
|
||||
Node: equity52892
|
||||
Ref: #equity53006
|
||||
Node: interest54334
|
||||
Ref: #interest54451
|
||||
Node: irr57535
|
||||
Ref: #irr57648
|
||||
Node: print-unique60023
|
||||
Ref: #print-unique60153
|
||||
Node: rewrite60411
|
||||
Ref: #rewrite60530
|
||||
Node: ui61059
|
||||
Ref: #ui61159
|
||||
Node: web61200
|
||||
Ref: #web61288
|
||||
Node: TROUBLESHOOTING61321
|
||||
Ref: #troubleshooting61440
|
||||
Node: Run-time problems61494
|
||||
Ref: #run-time-problems61637
|
||||
Node: Known limitations63581
|
||||
Ref: #known-limitations63724
|
||||
|
||||
End Tag Table
|
||||
|
@ -137,7 +137,7 @@ OOPPTTIIOONNSS
|
||||
There are three kinds of options. General options are always available
|
||||
and can appear anywhere in the command line:
|
||||
|
||||
--hh show general usage (or if after COMMAND, the command's usage)
|
||||
--hh show general usage (or after COMMAND, the command's usage)
|
||||
|
||||
----hheellpp show the current program's manual as plain text (or after an
|
||||
add-on COMMAND, the add-on's manual)
|
||||
|
Loading…
Reference in New Issue
Block a user