dev: rename the hidden --timeclock-old flag to --old-timeclock
--timeclock-old is still supported as well, for now, even though this flag is not documented yet (it has appeared in changelogs/release notes and in issue discussion).
This commit is contained in:
parent
c74d8bf6fb
commit
0ea239503c
@ -298,7 +298,7 @@ hiddenflagsformainmode = [
|
||||
,flagNone ["pretty-tables"] (setopt "pretty" "always") "legacy flag that was renamed"
|
||||
,flagNone ["anon"] (setboolopt "anon") "deprecated, renamed to --obfuscate" -- #2133, handled by anonymiseByOpts
|
||||
,flagNone ["obfuscate"] (setboolopt "obfuscate") "slightly obfuscate hledger's output. Warning, does not give privacy. Formerly --anon." -- #2133, handled by maybeObfuscate
|
||||
,flagNone ["timeclock-old"] (setboolopt "oldtimeclock") "don't pair timeclock entries by account name"
|
||||
,flagNone ["old-timeclock", "timeclock-old"] (setboolopt "oldtimeclock") "don't pair timeclock entries by account name"
|
||||
,flagReq ["rules-file"] (\s opts -> Right $ setopt "rules" s opts) "RULESFILE" "was renamed to --rules"
|
||||
]
|
||||
|
||||
|
||||
@ -147,7 +147,7 @@ $ hledger -f timeclock:- print
|
||||
|
||||
>=
|
||||
|
||||
# ** 12. The --timeclock-old flag reverts to the old behavior.
|
||||
# ** 12. The --old-timeclock flag reverts to the old behavior.
|
||||
<
|
||||
i 2009/1/1 08:00:00
|
||||
o 2009/1/1 09:00:00 stuff on checkout record is ignored
|
||||
@ -157,7 +157,7 @@ o 2009/1/2 09:00:00
|
||||
i 2009/1/3 08:00:00 some:account name and a description
|
||||
o 2009/1/3 09:00:00
|
||||
|
||||
$ hledger --timeclock-old -f timeclock:- print
|
||||
$ hledger --old-timeclock -f timeclock:- print
|
||||
>
|
||||
2009-01-01 * 08:00-09:00
|
||||
() 1.00h
|
||||
|
||||
Loading…
Reference in New Issue
Block a user