mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
restore the test command, hidden
This commit is contained in:
parent
92dc86ebae
commit
5df28069fb
@ -257,7 +257,8 @@ mainmode addons = defMode {
|
||||
]
|
||||
-- modes handled but not shown
|
||||
,groupHidden = [
|
||||
convertmode
|
||||
testmode
|
||||
,convertmode
|
||||
]
|
||||
}
|
||||
,modeGroupFlags = Group {
|
||||
@ -392,8 +393,10 @@ statsmode = (defCommandMode $ ["stats"] ++ aliases) {
|
||||
}
|
||||
where aliases = ["s"]
|
||||
|
||||
-- hidden commands
|
||||
|
||||
testmode = (defCommandMode ["test"]) {
|
||||
modeHelp = "run self-tests, or just the ones matching REGEXPS"
|
||||
modeHelp = "run built-in self-tests"
|
||||
,modeArgs = ([], Just $ argsFlag "[REGEXPS]")
|
||||
,modeGroupFlags = Group {
|
||||
groupUnnamed = []
|
||||
@ -402,8 +405,6 @@ testmode = (defCommandMode ["test"]) {
|
||||
}
|
||||
}
|
||||
|
||||
-- hidden commands
|
||||
|
||||
convertmode = (defCommandMode ["convert"]) {
|
||||
modeValue = [("command","convert")]
|
||||
,modeHelp = "convert is no longer needed, just use -f FILE.csv"
|
||||
|
Loading…
Reference in New Issue
Block a user