diff options
Diffstat (limited to 'src/helsinki.at/rhimportd/rhimportd.go')
-rw-r--r-- | src/helsinki.at/rhimportd/rhimportd.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/rhimportd.go index c1af87e..03d0340 100644 --- a/src/helsinki.at/rhimportd/rhimportd.go +++ b/src/helsinki.at/rhimportd/rhimportd.go @@ -36,6 +36,7 @@ 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'") help := flag.Bool("help", false, "show usage") flag.Parse() @@ -44,7 +45,7 @@ func main() { return } - conf, err := rhimport.NewConfig(rdconf_s, rdxport_url_s) + conf, err := rhimport.NewConfig(rdconf_s, rdxport_url_s, temp_dir_s) if err != nil { rhl.Println("Error reading configuration:", err) return |