diff options
| author | aarne <unknown> | 2005-10-12 11:38:29 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2005-10-12 11:38:29 +0000 |
| commit | 7b941a4ffaf34b4b078a596ec56cdb86ef0b6869 (patch) | |
| tree | a071de43c90187486db1cd512f4a50c44f072de4 /src/GF/Shell | |
| parent | ea1dcfd70aa7a2fb6a0b4227a6a5b83123bb4985 (diff) | |
gt -atoms
Diffstat (limited to 'src/GF/Shell')
| -rw-r--r-- | src/GF/Shell/HelpFile.hs | 5 | ||||
| -rw-r--r-- | src/GF/Shell/ShellCommands.hs | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/GF/Shell/HelpFile.hs b/src/GF/Shell/HelpFile.hs index b6c1c9a5e..b139ba647 100644 --- a/src/GF/Shell/HelpFile.hs +++ b/src/GF/Shell/HelpFile.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/10/06 14:21:34 $ +-- > CVS $Date: 2005/10/12 12:38:30 $ -- > CVS $Author: aarne $ --- > CVS $Revision: 1.16 $ +-- > CVS $Revision: 1.17 $ -- -- Help on shell commands. Generated from HelpFile by 'make help'. -- PLEASE DON'T EDIT THIS FILE. @@ -289,6 +289,7 @@ txtHelpFile = "\n -metas also return trees that include metavariables" ++ "\n flags:" ++ "\n -depth generate to this depth (default 3)" ++ + "\n -atoms take this number of atomic rules of each category (default unlimited)" ++ "\n -alts take this number of alternatives at each branch (default unlimited)" ++ "\n -cat generate in this category" ++ "\n -lang use the abstract syntax of this grammar" ++ diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index b41dc0b69..08996fb5c 100644 --- a/src/GF/Shell/ShellCommands.hs +++ b/src/GF/Shell/ShellCommands.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/10/06 10:02:34 $ +-- > CVS $Date: 2005/10/12 12:38:30 $ -- > CVS $Author: aarne $ --- > CVS $Revision: 1.41 $ +-- > CVS $Revision: 1.42 $ -- -- The datatype of shell commands and the list of their options. ----------------------------------------------------------------------------- @@ -176,7 +176,7 @@ optionsOfCommand co = case co of CParse -> both "new newer cfg mcfg n ign raw v lines all" "cat lang lexer parser number rawtrees" CTranslate _ _ -> opts "cat lexer parser" CGenerateRandom -> flags "cat lang number depth" - CGenerateTrees -> both "metas" "depth alts cat lang number" + CGenerateTrees -> both "metas one" "depth alts cat lang number" CPutTerm -> flags "transform number" CWrapTerm _ -> opts "c" CMorphoAnalyse -> both "short" "lang" |
