aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZyad A. Ali <zyad.ali.me@gmail.com>2021-02-22 20:42:16 +0200
committerJulie Qiu <julie@golang.org>2021-02-22 22:23:01 +0000
commit17279e72dc50bfefd7f40b87a76884c136a85dfd (patch)
treeec8a073e6375fd627f4779b081a297f11551ed7e /doc
parente5e14467473c07a01a10a76e0ea2499d7f061d04 (diff)
downloadgo-x-pkgsite-17279e72dc50bfefd7f40b87a76884c136a85dfd.tar.xz
cmd/pkgsite: remove -local flag
As local mode is now separate, -local flag is no longer needed. Remove it and use command line arguments instead. Change-Id: Ib4841f582eaf16068a8db163ac91cf1f15855b2e Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/295170 Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org> Trust: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/frontend.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/frontend.md b/doc/frontend.md
index 9e2c896f..cbf8a816 100644
--- a/doc/frontend.md
+++ b/doc/frontend.md
@@ -47,11 +47,12 @@ will do that as well.
You can also use run the frontend locally with an in-memory datasource
populated with modules loaded from your local filesystem.
- go run ./cmd/pkgsite [-local .]
+ go run ./cmd/pkgsite [path1,path2]
This allows you to run the frontend without setting up a database and to view
-documentation of local modules without requiring a proxy. `-local` accepts a
-GOPATH-like string containing paths of modules to load into memory.
+documentation of local modules without requiring a proxy. The command accepts a
+list of comma-separated strings each representing a path of a module to load
+into memory.
### Testing