summaryrefslogtreecommitdiff
path: root/src/GF/Shell/ShellCommands.hs
diff options
context:
space:
mode:
authoraarne <unknown>2005-05-17 11:37:17 +0000
committeraarne <unknown>2005-05-17 11:37:17 +0000
commitb12608fb0947122fe65d9736eabf59266ad08252 (patch)
tree537a7ce7cec1a1f12fce9493f6f39da131362d8b /src/GF/Shell/ShellCommands.hs
parent9b42aff901a3b14aaaf113098d9640e66fe9e5a2 (diff)
ml and tl
Diffstat (limited to 'src/GF/Shell/ShellCommands.hs')
-rw-r--r--src/GF/Shell/ShellCommands.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs
index 0bed0e1e5..6144de0f8 100644
--- a/src/GF/Shell/ShellCommands.hs
+++ b/src/GF/Shell/ShellCommands.hs
@@ -5,9 +5,9 @@
-- Stability : (stable)
-- Portability : (portable)
--
--- > CVS $Date: 2005/05/13 12:40:20 $
--- > CVS $Author: peb $
--- > CVS $Revision: 1.34 $
+-- > CVS $Date: 2005/05/17 12:37:17 $
+-- > CVS $Author: aarne $
+-- > CVS $Revision: 1.35 $
--
-- The datatype of shell commands and the list of their options.
-----------------------------------------------------------------------------
@@ -53,9 +53,9 @@ data Command =
| CShowOpers String
| CTranslationQuiz Language Language
- | CTranslationList Language Language Int
+ | CTranslationList Language Language
| CMorphoQuiz
- | CMorphoList Int
+ | CMorphoList
| CReadFile FilePath
| CWriteFile FilePath
@@ -180,9 +180,9 @@ optionsOfCommand co = case co of
CShowOpers _ -> flags "res"
CTranslationQuiz _ _ -> flags "cat"
- CTranslationList _ _ _ -> flags "cat"
+ CTranslationList _ _ -> flags "cat number"
CMorphoQuiz -> flags "cat lang"
- CMorphoList _ -> flags "cat lang"
+ CMorphoList -> flags "cat lang number"
CReadFile _ -> none
CWriteFile _ -> none