aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-07 23:58:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-07 23:58:33 -0200
commit7f8e09ad3c33db3ec20f9714c45fbc4397762d88 (patch)
tree3042c533370f54ff7e0f71938b6d3220b2f03b26
parenta31b634f7ec127b45142dfe786a32b73055324ac (diff)
downloadkeyringer-7f8e09ad3c33db3ec20f9714c45fbc4397762d88.tar.gz
keyringer-7f8e09ad3c33db3ec20f9714c45fbc4397762d88.tar.bz2
Usage fix
-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 b933f3f..c799b7f 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: `basename $0` <basedir> <file>"
+ echo "Usage: keyringer `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 cc6ad4e..c53143a 100755
--- a/share/keyringer/del
+++ b/share/keyringer/del
@@ -15,7 +15,7 @@ BASENAME="`basename $0`"
# Setup
if [ -z "$FILE" ]; then
- echo "Usage: `basename $0` <basedir> <file>"
+ echo "Usage: keyringer `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 1245715..a3272d2 100755
--- a/share/keyringer/encrypt
+++ b/share/keyringer/encrypt
@@ -17,7 +17,7 @@ BASENAME="`basename $0`"
# Setup
if [ -z "$FILE" ]; then
- echo "Usage: `basename $0` <basedir> <file>"
+ echo "Usage: keyringer `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 d2cba12..9d5ccd3 100755
--- a/share/keyringer/genpair
+++ b/share/keyringer/genpair
@@ -96,7 +96,7 @@ CWD="`pwd`"
# Verify
if [ -z "$NODE" ]; then
- echo "Usage: $BASENAME <keydir> <gpg|ssh|ssl> <file> <hostname>"
+ echo "Usage: keyringer $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 5e98105..b8df304 100755
--- a/share/keyringer/git
+++ b/share/keyringer/git
@@ -7,7 +7,7 @@ BASEDIR="$1"
CWD="`pwd`"
if [ -z "$BASEDIR" ]; then
- echo "Usage: `basename $0` <basedir> [arguments]"
+ echo "Usage: keyringer `basename $0` [arguments]"
exit 1
fi
diff --git a/share/keyringer/ls b/share/keyringer/ls
index f37df8e..53b418d 100755
--- a/share/keyringer/ls
+++ b/share/keyringer/ls
@@ -8,7 +8,7 @@ KEYDIR="$BASEDIR/keys"
CWD="`pwd`"
if [ -z "$KEYDIR" ]; then
- echo "Usage: `basename $0` <basedir> [arguments]"
+ echo "Usage: keyringer `basename $0` [arguments]"
exit 1
fi
diff --git a/share/keyringer/recipients b/share/keyringer/recipients
index 46d3e92..c0a4a65 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: `basename $0` <basedir> <command> [arguments]"
+ echo "Usage: keyringer `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 ff1d60e..6b26469 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: `basename $0` <basedir> <file>"
+ echo "Usage: keyringer `basename $0` <file>"
exit 1
elif [ ! -f "$RECIPIENTS" ]; then
echo "No recipient config was found"