aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien2013-07-01 16:23:04 +0200
committerPacien2013-07-01 16:23:04 +0200
commitb31339b20ba9ed8210964b0c5b1bdd8875ca0622 (patch)
tree96f804499a8fd604b9b3d1224a85860d4c7859e8
parent1c6337a043f05db64013b32b2eeeae94cc0e2025 (diff)
downloadfoldaweb-b31339b20ba9ed8210964b0c5b1bdd8875ca0622.tar.gz
Change default source directory
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9b6bf8a..a090980 100644
--- a/main.go
+++ b/main.go
@@ -40,7 +40,7 @@ func init() {
40 40
41 // read settings 41 // read settings
42 settings.mode = flag.String("mode", "compiled", "compiled|interactive|dynamic") 42 settings.mode = flag.String("mode", "compiled", "compiled|interactive|dynamic")
43 settings.sourceDir = flag.String("source", ".", "Path to sources directory.") 43 settings.sourceDir = flag.String("source", "./source", "Path to sources directory.")
44 settings.outputDir = flag.String("output", "./out", "[compiled mode] Path to output directory.") 44 settings.outputDir = flag.String("output", "./out", "[compiled mode] Path to output directory.")
45 settings.port = flag.String("port", "8080", "[dynamic mode] Port to listen.") 45 settings.port = flag.String("port", "8080", "[dynamic mode] Port to listen.")
46 exts := flag.String("exts", "html, txt, md", "List parsable file extensions. Separated by commas.") 46 exts := flag.String("exts", "html, txt, md", "List parsable file extensions. Separated by commas.")