From 09f3937da1502f7163a987a6d5ebdc7b64f26e5a Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 21 Aug 2015 12:20:40 +0000 Subject: [PATCH] GF shell bug fix: visualize_parse didn't accept the -lang flag Even though the -lang flag was handled in the implementation, it was not documented, and GF.Command.Interpreter rejects undocumented flags: option not interpreted: lang This must be a fairly old bug, so it suggests that the vp command isn't used much... --- src/compiler/GF/Command/Commands.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs index 09840e0b1..43f9124b6 100644 --- a/src/compiler/GF/Command/Commands.hs +++ b/src/compiler/GF/Command/Commands.hs @@ -629,6 +629,7 @@ pgfCommands = Map.fromList [ ("noleaves","don't show the leaves of the tree (i.e., only the abstract tree)") ], flags = [ + ("lang","the language to visualize"), ("format","format of the visualization file (default \"png\")"), ("view","program to open the resulting file (default \"open\")"), ("nodefont","font for tree nodes (default: Times -- graphviz standard font)"),