version-related changes in Makefile and help

This commit is contained in:
aarne
2008-06-27 09:09:29 +00:00
parent e8dc8c3ef5
commit f7b2a83059
6 changed files with 82 additions and 68 deletions

View File

@@ -65,3 +65,10 @@ prOpt o = case o of
mkOpt :: String -> Option
mkOpt = OOpt
-- abbreviation convention from gf commands
getCommandOp s = case break (=='_') s of
(a:_,_:b:_) -> [a,b] -- axx_byy --> ab
_ -> case s of
[a,b] -> s -- ab --> ab
a:_ -> [a] -- axx --> a