From 25928481ff6d29db10380209feb24775eb83f6c4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 5 Dec 2015 21:07:43 +0100 Subject: rename web-addr argument 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") }() -- cgit v0.10.2