From 013a1776b328c44b517d8ff910e10fc42eb1deb6 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Fri, 30 Jun 2023 13:56:47 -0400 Subject: [PATCH] fix: grep bug --- templates/client/sshnp-full.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/client/sshnp-full.sh b/templates/client/sshnp-full.sh index 5166638b2..2991fe017 100755 --- a/templates/client/sshnp-full.sh +++ b/templates/client/sshnp-full.sh @@ -7,7 +7,7 @@ HOST="$DEFAULT_HOST_ATSIGN"; PUBLIC_KEY="$SSHNP_PUBLIC_KEY"; usage() { - "$HOME/.local/bin/$BINARY_NAME" --help | grep -v -e "(mandatory)" -e "FormatException"; + "$HOME/.local/bin/$BINARY_NAME" --help | grep -v -e "(mandatory)" -v -e "FormatException"; echo "Note: previously device name was a positional argument, please specify it with -d." }