diff options
| author | kr.angelov <kr.angelov@chalmers.se> | 2008-06-05 11:50:24 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@chalmers.se> | 2008-06-05 11:50:24 +0000 |
| commit | b8854ea2f4b8f6c55c56a56af9eff185bccad7e7 (patch) | |
| tree | 1234c7be1ab7e26585cb90267de9b85b279edbb0 /src-3.0/GF/Command | |
| parent | a097dc5e85834ff9cdd4117b92d3e669a5cadc81 (diff) | |
describe cc,e,ph,q and i in Commands also. Allows word completion
Diffstat (limited to 'src-3.0/GF/Command')
| -rw-r--r-- | src-3.0/GF/Command/Commands.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src-3.0/GF/Command/Commands.hs b/src-3.0/GF/Command/Commands.hs index a7ba9bed8..1742012d9 100644 --- a/src-3.0/GF/Command/Commands.hs +++ b/src-3.0/GF/Command/Commands.hs @@ -63,6 +63,10 @@ commandHelp full (co,info) = unlines $ [ -- this list must be kept sorted by the command name! allCommands :: PGF -> Map.Map String CommandInfo allCommands pgf = Map.fromAscList [ + ("cc", emptyCommandInfo), + ("e", emptyCommandInfo), + ("ph", emptyCommandInfo), + ("q", emptyCommandInfo), ("gr", emptyCommandInfo { longname = "generate_random", synopsis = "generates a list of random trees, by default one tree", @@ -91,6 +95,9 @@ allCommands pgf = Map.fromAscList [ _ -> "command not found" _ -> commandHelpAll pgf opts) }), + ("i", emptyCommandInfo { + options = ["prob", "retain", "gfo", "src", "no-cpu", "cpu", "quiet", "verbose"] + }), ("l", emptyCommandInfo { exec = \opts -> return . fromStrings . map (optLin opts), options = ["all","record","table","term"], |
