summaryrefslogtreecommitdiff
path: root/doc/tutorial/gf-tutorial.t2t
diff options
context:
space:
mode:
authorInari Listenmaa <inari.listenmaa@gmail.com>2024-04-29 20:42:51 +0800
committerGitHub <noreply@github.com>2024-04-29 20:42:51 +0800
commitb855a094f8e09c4dc405015d74187020991a3ae7 (patch)
tree91fc367372e5346357dcf0701b06a8a9f35ce50f /doc/tutorial/gf-tutorial.t2t
parent2f31bbab23a2bea8b32fcb3d370928ddb72a9735 (diff)
Clarify description for vt
Diffstat (limited to 'doc/tutorial/gf-tutorial.t2t')
-rw-r--r--doc/tutorial/gf-tutorial.t2t10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/tutorial/gf-tutorial.t2t b/doc/tutorial/gf-tutorial.t2t
index 2c8d909de..c43382ea0 100644
--- a/doc/tutorial/gf-tutorial.t2t
+++ b/doc/tutorial/gf-tutorial.t2t
@@ -1265,10 +1265,16 @@ Human eye may prefer to see a visualization: ``visualize_tree = vt``:
> parse "this delicious cheese is very Italian" | visualize_tree
```
The tree is generated in postscript (``.ps``) file. The ``-view`` option is used for
-telling what command to use to view the file. Its default is ``"open"``, which works
-on Mac OS X. On Ubuntu Linux, one can write
+telling what command to use to view the file.
+
+This works on Mac OS X:
+```
+ > parse "this delicious cheese is very Italian" | visualize_tree -view=open
+```
+On Linux, one can write either of
```
> parse "this delicious cheese is very Italian" | visualize_tree -view="eog"
+ > parse "this delicious cheese is very Italian" | visualize_tree -view=xdg-open
```