From d010dfdcfa5620d70d382fe614e1d8b38f81c633 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 10 Jun 2013 12:00:14 +0000 Subject: [PATCH] Update the usage text for the --output-format option It needs to be updated manually when the list of available output format changes. --- src/compiler/GF/Infra/Option.hs | 10 +++++----- 1 file 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"]),