git-nostr-tools

git nostr tools
git clone git://jb55.com/git-nostr-tools
Log | Files | Refs

commit b1a1a05f92af11fc2b857ed92209adcf265f6243
parent f97c54a636dac5ed279f2c9f1adfdb3e85c265d1
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Nov 2022 09:59:47 -0800

send: fix

Diffstat:
Mgit-send-nostr | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-send-nostr b/git-send-nostr @@ -7,8 +7,6 @@ if ! command -v $NOSTR_RELAYER >&2 >/dev/null; then exit 1 fi -check_cmd "nostril" - check_cmd() { if ! command -v $1 >&2 >/dev/null; then printf "error: $1 is required. please install. \n" @@ -16,6 +14,8 @@ check_cmd() { fi } +check_cmd "nostril" + usage() { printf "usage: git-send-nostr [OPTIONS...] <commit> [NOSTRIL OPTIONS...]\n\n"