diff options
author | Pacien | 2013-07-01 16:23:04 +0200 |
---|---|---|
committer | Pacien | 2013-07-01 16:23:04 +0200 |
commit | b31339b20ba9ed8210964b0c5b1bdd8875ca0622 (patch) | |
tree | 96f804499a8fd604b9b3d1224a85860d4c7859e8 | |
parent | 1c6337a043f05db64013b32b2eeeae94cc0e2025 (diff) | |
download | foldaweb-b31339b20ba9ed8210964b0c5b1bdd8875ca0622.tar.gz |
Change default source directory
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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.") |