summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-12-05 20:07:43 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-12-05 20:07:43 (GMT)
commit25928481ff6d29db10380209feb24775eb83f6c4 (patch)
tree3b54ffe3c0095a2d2f7980f7dc173c2b9c6cccc6 /src
parentebb3f5828c9ac684f18135b17152d714939578f8 (diff)
rename web-addr argument
Diffstat (limited to 'src')
-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")
}()