summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/blubber/main.go6
-rw-r--r--cmd/blubberoid/main.go8
2 files changed, 7 insertions, 7 deletions
diff --git a/cmd/blubber/main.go b/cmd/blubber/main.go
index 53009ea..9160e06 100644
--- a/cmd/blubber/main.go
+++ b/cmd/blubber/main.go
@@ -17,9 +17,9 @@ import (
const parameters = "config.yaml variant"
var (
- showHelp *bool = getopt.BoolLong("help", 'h', "show help/usage")
- showVersion *bool = getopt.BoolLong("version", 'v', "show version information")
- policyURI *string = getopt.StringLong("policy", 'p', "", "policy file URI", "uri")
+ showHelp = getopt.BoolLong("help", 'h', "show help/usage")
+ showVersion = getopt.BoolLong("version", 'v', "show version information")
+ policyURI = getopt.StringLong("policy", 'p', "", "policy file URI", "uri")
)
func main() {
diff --git a/cmd/blubberoid/main.go b/cmd/blubberoid/main.go
index b15f603..f342a57 100644
--- a/cmd/blubberoid/main.go
+++ b/cmd/blubberoid/main.go
@@ -17,10 +17,10 @@ import (
)
var (
- showHelp *bool = getopt.BoolLong("help", 'h', "show help/usage")
- address *string = getopt.StringLong("address", 'a', ":8748", "socket address/port to listen on (default ':8748')", "address:port")
- endpoint *string = getopt.StringLong("endpoint", 'e', "/", "server endpoint (default '/')", "path")
- policyURI *string = getopt.StringLong("policy", 'p', "", "policy file URI", "uri")
+ showHelp = getopt.BoolLong("help", 'h', "show help/usage")
+ address = getopt.StringLong("address", 'a', ":8748", "socket address/port to listen on (default ':8748')", "address:port")
+ endpoint = getopt.StringLong("endpoint", 'e', "/", "server endpoint (default '/')", "path")
+ policyURI = getopt.StringLong("policy", 'p', "", "policy file URI", "uri")
policy *config.Policy
)