summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorVonC <vonc@laposte.net>2013-08-14 10:53:41 +0200
committerVonC <vonc@laposte.net>2013-08-14 16:47:17 +0200
commit9308cd6a7a9b1a8dbcf41ff71114b567261c3136 (patch)
tree97c463782c1345291278bfbc328671f69f40c7a6 /main.go
parent3c3fc45d3c34a7dcd1a0e9fd2636e7a5c5933e03 (diff)
Clarify uglyurls flag.
Mention more clearly that, for generating `/filename.html`, you need to set the `uglyurls` flag to `true`.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index d89b9f10c..30f8cb412 100644
--- a/main.go
+++ b/main.go
@@ -42,7 +42,7 @@ var (
watchMode = flag.BoolP("watch", "w", false, "watch filesystem for changes and recreate as needed")
server = flag.BoolP("server", "S", false, "run a (very) simple web server")
port = flag.String("port", "1313", "port to run web server on, default :1313")
- uglyUrls = flag.Bool("uglyurls", false, "use /filename.html instead of /filename/ ")
+ uglyUrls = flag.Bool("uglyurls", false, "if true, use /filename.html instead of /filename/")
)
func usage() {