1
0
forked from GitHub/gf-core

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...
This commit is contained in:
hallgren
2015-08-21 12:20:40 +00:00
parent 672d83f41f
commit 09f3937da1

View File

@@ -629,6 +629,7 @@ pgfCommands = Map.fromList [
("noleaves","don't show the leaves of the tree (i.e., only the abstract tree)") ("noleaves","don't show the leaves of the tree (i.e., only the abstract tree)")
], ],
flags = [ flags = [
("lang","the language to visualize"),
("format","format of the visualization file (default \"png\")"), ("format","format of the visualization file (default \"png\")"),
("view","program to open the resulting file (default \"open\")"), ("view","program to open the resulting file (default \"open\")"),
("nodefont","font for tree nodes (default: Times -- graphviz standard font)"), ("nodefont","font for tree nodes (default: Times -- graphviz standard font)"),