From 8726ad3b15f10e5a09864bbef61f7a35d1d2f3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C6=B0=C6=A1ng?= Date: Tue, 8 Aug 2023 13:35:39 -0300 Subject: [PATCH] Add --sec to the documentation Closes: https://github.com/jb55/nostril/pull/32 --- README.md | 3 +++ doc/nostril.1 | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index e783209..21d3876 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,9 @@ nostril - generate nostr events *--created-at* Set the created at. Optional, this is set automatically. +*--sec* + Set the secret key for signing, otherwise one will be randomly generated. + *--mine-pubkey* Mine a pubkey. This may or may not be cryptographically dubious. diff --git a/doc/nostril.1 b/doc/nostril.1 index 550f0cd..9d69e8b 100644 --- a/doc/nostril.1 +++ b/doc/nostril.1 @@ -47,6 +47,11 @@ Set the kind of the note Set the created at.\& Optional, this is set automatically.\& .P .RE +\fB--sec\fR +.RS 4 +Set the secret key for signing, otherwise one will be randomly generated.\& +.P +.RE \fB--mine-pubkey\fR .RS 4 Mine a pubkey.\& This may or may not be cryptographically dubious.\&