summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-08 11:40:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-08 11:40:08 -0200
commit31047c6f24548d971844c746e783e3d4f1014d9a (patch)
tree56ac67f63eb91f8beec69562599c53b00feccc08
parent7f8e09ad3c33db3ec20f9714c45fbc4397762d88 (diff)
downloadkeyringer-31047c6f24548d971844c746e783e3d4f1014d9a.tar.gz
keyringer-31047c6f24548d971844c746e783e3d4f1014d9a.tar.bz2
Usage fix (2)
-rwxr-xr-xshare/keyringer/decrypt2
-rwxr-xr-xshare/keyringer/del2
-rwxr-xr-xshare/keyringer/encrypt2
-rwxr-xr-xshare/keyringer/genpair2
-rwxr-xr-xshare/keyringer/git2
-rwxr-xr-xshare/keyringer/ls2
-rwxr-xr-xshare/keyringer/recipients2
-rwxr-xr-xshare/keyringer/recrypt2
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"