diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/keyringer/decrypt | 2 | ||||
-rwxr-xr-x | share/keyringer/del | 2 | ||||
-rwxr-xr-x | share/keyringer/encrypt | 2 | ||||
-rwxr-xr-x | share/keyringer/genpair | 2 | ||||
-rwxr-xr-x | share/keyringer/git | 2 | ||||
-rwxr-xr-x | share/keyringer/ls | 2 | ||||
-rwxr-xr-x | share/keyringer/recipients | 2 | ||||
-rwxr-xr-x | share/keyringer/recrypt | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt index c799b7f..95ea332 100755 --- a/share/keyringer/decrypt +++ b/share/keyringer/decrypt @@ -13,7 +13,7 @@ KEYDIR="$BASEDIR/keys" BASENAME="`basename $0`" if [ -z "$FILE" ]; then - echo "Usage: keyringer `basename $0` <file>" + echo "Usage: keyringer <keyring> `basename $0` <file>" exit 1 elif [ ! -f "$KEYDIR/$FILE" ]; then echo "File not found: $KEYDIR/$FILE" diff --git a/share/keyringer/del b/share/keyringer/del index c53143a..e032b7c 100755 --- a/share/keyringer/del +++ b/share/keyringer/del @@ -15,7 +15,7 @@ BASENAME="`basename $0`" # Setup if [ -z "$FILE" ]; then - echo "Usage: keyringer `basename $0` <file>" + echo "Usage: keyringer <keyring> `basename $0` <file>" exit 1 elif [ ! -f "$KEYDIR/$FILE" ]; then echo "File not found: $KEYDIR/$FILE" diff --git a/share/keyringer/encrypt b/share/keyringer/encrypt index a3272d2..ba3d2d0 100755 --- a/share/keyringer/encrypt +++ b/share/keyringer/encrypt @@ -17,7 +17,7 @@ BASENAME="`basename $0`" # Setup if [ -z "$FILE" ]; then - echo "Usage: keyringer `basename $0` <file>" + echo "Usage: keyringer <keyring> `basename $0` <file>" exit 1 elif [ ! -f "$RECIPIENTS" ]; then echo "No recipient config was found" diff --git a/share/keyringer/genpair b/share/keyringer/genpair index 9d5ccd3..95cb061 100755 --- a/share/keyringer/genpair +++ b/share/keyringer/genpair @@ -96,7 +96,7 @@ CWD="`pwd`" # Verify if [ -z "$NODE" ]; then - echo "Usage: keyringer $BASENAME <gpg|ssh|ssl> <file> <hostname>" + echo "Usage: keyringer <keyring> $BASENAME <gpg|ssh|ssl> <file> <hostname>" exit 1 elif [ ! -e "$KEYDIR" ]; then echo "Folder not found: $KEYDIR, leaving" diff --git a/share/keyringer/git b/share/keyringer/git index b8df304..67d4d0f 100755 --- a/share/keyringer/git +++ b/share/keyringer/git @@ -7,7 +7,7 @@ BASEDIR="$1" CWD="`pwd`" if [ -z "$BASEDIR" ]; then - echo "Usage: keyringer `basename $0` [arguments]" + echo "Usage: keyringer <keyringer> `basename $0` [arguments]" exit 1 fi diff --git a/share/keyringer/ls b/share/keyringer/ls index 53b418d..418babb 100755 --- a/share/keyringer/ls +++ b/share/keyringer/ls @@ -8,7 +8,7 @@ KEYDIR="$BASEDIR/keys" CWD="`pwd`" if [ -z "$KEYDIR" ]; then - echo "Usage: keyringer `basename $0` [arguments]" + echo "Usage: keyringer <keyring> `basename $0` [arguments]" exit 1 fi diff --git a/share/keyringer/recipients b/share/keyringer/recipients index c0a4a65..46eb969 100755 --- a/share/keyringer/recipients +++ b/share/keyringer/recipients @@ -10,7 +10,7 @@ BASENAME="`basename $0`" RECIPIENTS="$BASEDIR/config/recipients" if [ -z "$COMMAND" ]; then - echo "Usage: keyringer `basename $0` <command> [arguments]" + echo "Usage: keyringer <keyring> `basename $0` <command> [arguments]" exit 1 elif [ ! -f "$RECIPIENTS" ]; then echo "No recipient config was found" diff --git a/share/keyringer/recrypt b/share/keyringer/recrypt index 6b26469..1b35224 100755 --- a/share/keyringer/recrypt +++ b/share/keyringer/recrypt @@ -15,7 +15,7 @@ RECIPIENTS="$BASEDIR/config/recipients" BASENAME="`basename $0`" if [ -z "$FILE" ]; then - echo "Usage: keyringer `basename $0` <file>" + echo "Usage: keyringer <keyring> `basename $0` <file>" exit 1 elif [ ! -f "$RECIPIENTS" ]; then echo "No recipient config was found" |