register: tweak --historical help
This commit is contained in:
parent
39c5eb9801
commit
47695f6484
@ -32,7 +32,7 @@ registermode = (defCommandMode $ ["register"] ++ aliases) {
|
|||||||
modeHelp = "show postings and running total" `withAliases` aliases
|
modeHelp = "show postings and running total" `withAliases` aliases
|
||||||
,modeGroupFlags = Group {
|
,modeGroupFlags = Group {
|
||||||
groupUnnamed = [
|
groupUnnamed = [
|
||||||
flagNone ["historical","H"] (\opts -> setboolopt "historical" opts) "include prior postings in the running total"
|
flagNone ["historical","H"] (\opts -> setboolopt "historical" opts) "show historical running balance, reflecting prior postings"
|
||||||
,flagNone ["average","A"] (\opts -> setboolopt "average" opts) "show a running average instead of the running total (implies --empty)"
|
,flagNone ["average","A"] (\opts -> setboolopt "average" opts) "show a running average instead of the running total (implies --empty)"
|
||||||
,flagNone ["related","r"] (\opts -> setboolopt "related" opts) "show postings' siblings instead"
|
,flagNone ["related","r"] (\opts -> setboolopt "related" opts) "show postings' siblings instead"
|
||||||
,flagReq ["width","w"] (\s opts -> Right $ setopt "width" s opts) "N"
|
,flagReq ["width","w"] (\s opts -> Right $ setopt "width" s opts) "N"
|
||||||
|
|||||||
@ -377,7 +377,7 @@ and
|
|||||||
Show postings and their running total. Alias: reg.
|
Show postings and their running total. Alias: reg.
|
||||||
|
|
||||||
`-H --historical`
|
`-H --historical`
|
||||||
: include prior postings in the running total
|
: show historical running balance, reflecting prior postings
|
||||||
|
|
||||||
`-A --average`
|
`-A --average`
|
||||||
: show a running average instead of the running total (implies --empty)
|
: show a running average instead of the running total (implies --empty)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user