summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimportd/rhimportd.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-09 05:31:55 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-09 05:31:55 (GMT)
commit7961a53e39adc0fb434ff212d17a689513eeaf5c (patch)
treee642fe61a265c431e4b8029e934a724256193aea /src/helsinki.at/rhimportd/rhimportd.go
parent6953e452ca625a3d053260648aa2217dd7596259 (diff)
first version of curl base fetcher works now
Diffstat (limited to 'src/helsinki.at/rhimportd/rhimportd.go')
-rw-r--r--src/helsinki.at/rhimportd/rhimportd.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/rhimportd.go
index b8c5e3b..9e395d8 100644
--- a/src/helsinki.at/rhimportd/rhimportd.go
+++ b/src/helsinki.at/rhimportd/rhimportd.go
@@ -33,10 +33,10 @@ import (
)
func main() {
- web_addr_s := flag.String("web-addr", ":4000", "addr:port to listen on, default: ':4000'")
- rdconf_s := flag.String("rdconf", "/etc/rd.conf", "path to the Rivendell config file, default: '/etc/rd.conf'")
- rdxport_url_s := flag.String("rdxport-url", "http://localhost/rd-bin/rdxport.cgi", "the url to the Rivendell web-api, default: 'http://localhost/rd-bin/rdxport.cgi'")
- temp_dir_s := flag.String("tmp-dir", "/tmp", "path to temporary files, default: '/tmp'")
+ web_addr_s := flag.String("web-addr", ":4000", "addr:port to listen on")
+ rdconf_s := flag.String("rdconf", "/etc/rd.conf", "path to the Rivendell config file")
+ rdxport_url_s := flag.String("rdxport-url", "http://localhost/rd-bin/rdxport.cgi", "the url to the Rivendell web-api")
+ temp_dir_s := flag.String("tmp-dir", os.TempDir(), "path to temporary files")
help := flag.Bool("help", false, "show usage")
flag.Parse()