Skip to content

Commit

Permalink
fix usage display logic
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush committed Mar 20, 2024
1 parent 8f43637 commit 856cfa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shotput
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shotput: a portable shell script to generate TOTPs from the command line
#

[ "$1" ] || echo "
if [ ! "$1" ]; then echo "
Usage: shotput service [reveal]
Generates an OTP for the given service. If the service is not found, you will
Expand All @@ -15,7 +15,7 @@ If [reveal] is specified, the secret key for the given service will be
displayed, rather than generating an OTP.
Note: requires oathtool >=2.6.6 and openssl.
"; exit 1
"; exit 1; fi

CIPHER=aes-256-cbc
CONFIG="$HOME/.config/shotput.keys"
Expand Down

0 comments on commit 856cfa9

Please sign in to comment.