From 4e61e266076fbda20cbf268300e7f645669c7062 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 27 Sep 2020 08:51:09 -0400 Subject: [PATCH] gmni: improve unknown trust message --- src/gmni.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gmni.c b/src/gmni.c index 245ba76..a61ee7b 100644 --- a/src/gmni.c +++ b/src/gmni.c @@ -84,7 +84,8 @@ tofu_callback(enum tofu_error error, const char *fingerprint, fprintf(stderr, "The certificate offered by this server is of unknown trust. " "Its fingerprint is: \n" - "%s\n\n", fingerprint); + "%s\n\n" + "Use -j trust to trust temporarily, or -j always to add to the trust store.\n", fingerprint); break; case TOFU_FINGERPRINT_MISMATCH: fprintf(stderr,