diff --git a/examples/bronzeage/README b/examples/bronzeage/README index 02b430c7b..c93a8c99c 100644 --- a/examples/bronzeage/README +++ b/examples/bronzeage/README @@ -15,7 +15,6 @@ Before this, you have to have compiled the libraries: cd GF/lib/resource-1.0 make present - make install To work with the grammar diff --git a/src/GF.hs b/src/GF.hs index b1f68f57d..054ff6e89 100644 --- a/src/GF.hs +++ b/src/GF.hs @@ -59,9 +59,8 @@ main = do return () _ | opt doMake -> do - case fs of - [f] -> batchCompile os f - _ -> putStrLnFlush "expecting exactly one gf file to compile" + mapM_ (batchCompile os) fs + return () _ | opt makeConcrete -> do mkConcretes fs diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index 59500e7fa..56c172037 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 gfc retain nocf nocheckcirc cflexer noemit o ex prob" + CImport _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o make ex prob" "abs cnc res path optimize conversion cat preproc probs noparse" CRemoveLanguage _ -> none CEmptyState -> none