restore the test command, hidden

This commit is contained in:
Simon Michael 2014-03-18 14:08:28 -07:00
parent 92dc86ebae
commit 5df28069fb

View File

@ -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"