From 7b941a4ffaf34b4b078a596ec56cdb86ef0b6869 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 12 Oct 2005 11:38:29 +0000 Subject: gt -atoms --- src/GF/Shell/HelpFile.hs | 5 +++-- src/GF/Shell/ShellCommands.hs | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/GF/Shell') 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" -- cgit v1.2.3