aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acme/main.go')
-rw-r--r--cmd/acme/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/acme/main.go b/cmd/acme/main.go
index ce16699..c9faa85 100644
--- a/cmd/acme/main.go
+++ b/cmd/acme/main.go
@@ -15,7 +15,6 @@ func must(err error) {
var (
config = flag.String("config", "acme.toml", "configuration file")
- server = flag.String("server", acme.LES, "directory server")
port = flag.Int("port", 8443, "port to listen")
)
@@ -24,7 +23,7 @@ func init() {
}
func main() {
- conf, err := acme.LoadConfig("acme.toml")
+ conf, err := acme.LoadConfig(*config)
must(err)
log.Printf("%+v\n", conf)