From 7c6aaa34a967a9fa078542a1c3f413fc542ce1d9 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Mon, 26 Dec 2022 19:10:55 +0100 Subject: [PATCH] add help --- cashu/wallet/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index 6ff24c8..d14eac5 100644 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -409,6 +409,7 @@ async def invoices(ctx): @click.argument( "pubkey", type=str, + help="Nostr pubkey to send tokens to.", ) @click.option( "--verbose", @@ -456,7 +457,7 @@ async def nsend(ctx, amount: int, pubkey: str, verbose: bool): async def nreceive(ctx, verbose: bool): if NOSTR_PRIVATE_KEY is None: print( - "Warning! You don't have NOSTR_PRIVATE_KEY set in your .env file. I will create a random private key for this session but I will not remember it. If you lose this key, you will lose access to the DMs you receive on it." + "Warning: No nostr private key set! You don't have NOSTR_PRIVATE_KEY set in your .env file. I will create a random private key for this session but I will not remember it." ) print("") client = NostrClient(privatekey_hex=NOSTR_PRIVATE_KEY)