mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 04:13:11 +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
|
-- modes handled but not shown
|
||||||
,groupHidden = [
|
,groupHidden = [
|
||||||
convertmode
|
testmode
|
||||||
|
,convertmode
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
,modeGroupFlags = Group {
|
,modeGroupFlags = Group {
|
||||||
@ -392,8 +393,10 @@ statsmode = (defCommandMode $ ["stats"] ++ aliases) {
|
|||||||
}
|
}
|
||||||
where aliases = ["s"]
|
where aliases = ["s"]
|
||||||
|
|
||||||
|
-- hidden commands
|
||||||
|
|
||||||
testmode = (defCommandMode ["test"]) {
|
testmode = (defCommandMode ["test"]) {
|
||||||
modeHelp = "run self-tests, or just the ones matching REGEXPS"
|
modeHelp = "run built-in self-tests"
|
||||||
,modeArgs = ([], Just $ argsFlag "[REGEXPS]")
|
,modeArgs = ([], Just $ argsFlag "[REGEXPS]")
|
||||||
,modeGroupFlags = Group {
|
,modeGroupFlags = Group {
|
||||||
groupUnnamed = []
|
groupUnnamed = []
|
||||||
@ -402,8 +405,6 @@ testmode = (defCommandMode ["test"]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- hidden commands
|
|
||||||
|
|
||||||
convertmode = (defCommandMode ["convert"]) {
|
convertmode = (defCommandMode ["convert"]) {
|
||||||
modeValue = [("command","convert")]
|
modeValue = [("command","convert")]
|
||||||
,modeHelp = "convert is no longer needed, just use -f FILE.csv"
|
,modeHelp = "convert is no longer needed, just use -f FILE.csv"
|
||||||
|
Loading…
Reference in New Issue
Block a user