From 81fd81291399855be40ccf13bcb01be58e7e27c6 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Wed, 18 Jun 2014 11:23:08 +1000 Subject: [PATCH] go.tools/cmd/present: update doc LGTM=adg R=golang-codereviews, dan.kortschak, gobot, adg CC=golang-codereviews https://golang.org/cl/106860043 --- cmd/present/doc.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/present/doc.go b/cmd/present/doc.go index b6845e1751..39f6d41d79 100644 --- a/cmd/present/doc.go +++ b/cmd/present/doc.go @@ -12,7 +12,13 @@ code.google.com/p/go.tools repository. Usage of present: -base="": base path for slide template and static resources - -http="127.0.0.1:3999": host:port to listen on + -http="127.0.0.1:3999": HTTP service address (e.g., '127.0.0.1:3999') + -nacl=false: use Native Client environment playground (prevents non-Go code execution) + -orighost="": host component of web origin URL (e.g., 'localhost') + -play=true: enable playground (permit execution of arbitrary user code) + +The setup of the Go version of NaCl is documented at: +https://code.google.com/p/go-wiki/wiki/NativeClient Input files are named foo.extension, where "extension" defines the format of the generated output. The supported formats are: