From c5666fabddca9eaf9786a310bc14d77ffc0bc51e Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Feb 2006 09:58:59 +0000 Subject: the -gfc option --- src/GF/Shell/HelpFile.hs | 3 ++- src/GF/Shell/ShellCommands.hs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/GF/Shell') diff --git a/src/GF/Shell/HelpFile.hs b/src/GF/Shell/HelpFile.hs index 5764e9f14..ecb8c5bc4 100644 --- a/src/GF/Shell/HelpFile.hs +++ b/src/GF/Shell/HelpFile.hs @@ -56,7 +56,8 @@ txtHelpFile = "\n -old old: parse in GF<2.0 format (not necessary)" ++ "\n -v verbose: give lots of messages " ++ "\n -s silent: don't give error messages" ++ - "\n -src source: ignore precompiled gfc and gfr files" ++ + "\n -src from source: ignore precompiled gfc and gfr files" ++ + "\n -gfc from gfc: use compiled modules whenever they exist" ++ "\n -retain retain operations: read resource modules (needed in comm cc) " ++ "\n -nocf don't build context-free grammar (thus no parser)" ++ "\n -nocheckcirc don't eliminate circular rules from CF " ++ diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index 7d10ef882..9918e5225 100644 --- a/src/GF/Shell/ShellCommands.hs +++ b/src/GF/Shell/ShellCommands.hs @@ -169,7 +169,7 @@ optionsOfCommand co = case co of CSetFlag -> both "utf8 table struct record all multi" "cat lang lexer parser number depth rawtrees unlexer optimize path conversion printer" - CImport _ -> both "old v s src retain nocf nocheckcirc cflexer noemit o ex prob" + CImport _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o ex prob" "abs cnc res path optimize conversion cat probs noparse" CRemoveLanguage _ -> none CEmptyState -> none -- cgit v1.2.3