diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-12-05 20:07:43 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-12-05 20:07:43 (GMT) |
commit | 25928481ff6d29db10380209feb24775eb83f6c4 (patch) | |
tree | 3b54ffe3c0095a2d2f7980f7dc173c2b9c6cccc6 /src/helsinki.at/rhimportd/rhimportd.go | |
parent | ebb3f5828c9ac684f18135b17152d714939578f8 (diff) |
rename web-addr argument
Diffstat (limited to 'src/helsinki.at/rhimportd/rhimportd.go')
-rw-r--r-- | src/helsinki.at/rhimportd/rhimportd.go | 4 |
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") }() |