From 89f5cc577ef444504ec31e51af2e16f44ad56fe6 Mon Sep 17 00:00:00 2001 From: nimbleghost <132819643+nimbleghost@users.noreply.github.com> Date: Sun, 18 Jun 2023 21:17:49 +0200 Subject: [PATCH] Doc fixes --- cmd/serve.go | 2 +- docs/develop.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/serve.go b/cmd/serve.go index a1f7b21c..8c88e4d6 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -194,7 +194,7 @@ func execServe(c *cli.Context) error { if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) { return errors.New("if set, FCM key file must exist") } else if webPushPublicKey != "" && (webPushPrivateKey == "" || webPushFile == "" || webPushEmailAddress == "" || baseURL == "") { - return errors.New("if web push is enabled, web-push-private-key, web-push-public-key, web-push-file, web-push-email-address, and base-url should be set. run 'ntfy web-push generate-keys' to generate keys") + return errors.New("if web push is enabled, web-push-private-key, web-push-public-key, web-push-file, web-push-email-address, and base-url should be set. run 'ntfy webpush keys' to generate keys") } else if keepaliveInterval < 5*time.Second { return errors.New("keepalive interval cannot be lower than five seconds") } else if managerInterval < 5*time.Second { diff --git a/docs/develop.md b/docs/develop.md index ede9f917..9fcad973 100644 --- a/docs/develop.md +++ b/docs/develop.md @@ -273,7 +273,7 @@ Reference: ### Build the docs