summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GF.hs5
-rw-r--r--src/GF/Shell/ShellCommands.hs2
2 files changed, 3 insertions, 4 deletions
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