summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helsinki.at/rhimportd/rhimportd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/rhimportd.go
index 7fb62b6..c1af87e 100644
--- a/src/helsinki.at/rhimportd/rhimportd.go
+++ b/src/helsinki.at/rhimportd/rhimportd.go
@@ -33,7 +33,7 @@ import (
)
func main() {
- addr_s := flag.String("addr", ":4000", "addr:port to listen on, default: ':4000'")
+ 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'")
help := flag.Bool("help", false, "show usage")
@@ -57,7 +57,7 @@ func main() {
go func() {
defer wg.Done()
rhl.Println("start web-ctrl")
- StartControlWeb(*addr_s, conf)
+ StartControlWeb(*web_addr_s, conf)
rhl.Println("web-ctrl finished")
}()