summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Infra/Option.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2013-06-10 12:00:14 +0000
committerhallgren <hallgren@chalmers.se>2013-06-10 12:00:14 +0000
commitd010dfdcfa5620d70d382fe614e1d8b38f81c633 (patch)
tree5cd946e60777352ab6a1be9184b5194c01105091 /src/compiler/GF/Infra/Option.hs
parent5b36461c1db595af0340a1c547252b56bae7db13 (diff)
Update the usage text for the --output-format option
It needs to be updated manually when the list of available output format changes.
Diffstat (limited to 'src/compiler/GF/Infra/Option.hs')
-rw-r--r--src/compiler/GF/Infra/Option.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/GF/Infra/Option.hs b/src/compiler/GF/Infra/Option.hs
index a1e69d027..c4aecae23 100644
--- a/src/compiler/GF/Infra/Option.hs
+++ b/src/compiler/GF/Infra/Option.hs
@@ -283,8 +283,8 @@ defaultFlags = Flags {
#endif
}
--- Option descriptions
-
+-- | Option descriptions
+{-# NOINLINE optDescr #-}
optDescr :: [OptDescr (Err Options)]
optDescr =
[
@@ -309,9 +309,9 @@ optDescr =
Option [] ["gfo-dir"] (ReqArg gfoDir "DIR") "Directory to put .gfo files in (default = '.').",
Option ['f'] ["output-format"] (ReqArg outFmt "FMT")
(unlines ["Output format. FMT can be one of:",
- "Multiple concrete: pgf (default), gar, js, prolog, ...",
- "Single concrete only: cf, bnf, lbnf, gsl, srgs_xml, srgs_abnf, ...",
- "Abstract only: haskell, prolog_abs, ..."]),
+ "Multiple concrete: pgf (default), js, pgf_pretty, prolog, python, ...", -- gar,
+ "Single concrete only: bnf, ebnf, fa, gsl, jsgf, regexp, slf, srgs_xml, srgs_abnf, vxml, ....", -- cf, lbnf,
+ "Abstract only: haskell, ..."]), -- prolog_abs,
Option [] ["sisr"] (ReqArg sisrFmt "FMT")
(unlines ["Include SISR tags in generated speech recognition grammars.",
"FMT can be one of: old, 1.0"]),