From 3e6322732294d4c01f083f3f52de9d016d920817 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Wed, 30 Nov 2022 22:09:42 -0800 Subject: [PATCH] Make the docs about --no-tls-very-insecure less dumb --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index d7eb1e1..2c10b0c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -330,7 +330,7 @@ func init() { rootCmd.Flags().String("rpcpassword", "", "RPC password") rootCmd.Flags().String("rpchost", "", "RPC host") rootCmd.Flags().String("rpcport", "", "RPC host port") - rootCmd.Flags().Bool("no-tls-very-insecure", false, "run without the required TLS certificate, only for debugging, DO NOT use in production") + rootCmd.Flags().Bool("no-tls-very-insecure", false, "run without TLS, only safe if a reverse proxy like nginx does TLS on localhost") rootCmd.Flags().Bool("gen-cert-very-insecure", false, "run with self-signed TLS certificate, only for debugging, DO NOT use in production") rootCmd.Flags().Bool("redownload", false, "re-fetch all blocks from hushd; reinitialize local cache files") rootCmd.Flags().Int("sync-from-height", -1, "re-fetch blocks from hushd start at this height")