summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Ljunglöf <peter.ljunglof@heatherleaf.se>2019-02-08 09:22:08 +0100
committerPeter Ljunglöf <peter.ljunglof@heatherleaf.se>2019-02-08 09:22:08 +0100
commitf8346c4557f5e29e85245f259bce952014870dd6 (patch)
tree52b773d80ee32f6cc0a9d33979e23961a65e1ae1 /src
parent47ac01e4b9502ed573e4847ff563ada2670bd4ba (diff)
added helper info about canonical grammar output
Diffstat (limited to 'src')
-rw-r--r--src/compiler/GF/Infra/Option.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/Infra/Option.hs b/src/compiler/GF/Infra/Option.hs
index 832c37115..276b41c8a 100644
--- a/src/compiler/GF/Infra/Option.hs
+++ b/src/compiler/GF/Infra/Option.hs
@@ -328,6 +328,7 @@ 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:",
+ "Canonical GF grammar: canonical_gf, canonical_json, canonical_yaml, (and haskell with option --haskell=concrete)",
"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,