diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-16 14:27:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-16 15:29:17 +0200 |
commit | 3f250ecca3da1e2dcf0a85d788e286a0b7212967 (patch) | |
tree | 43bae17cbcb45d75b45db10e1840a34d6b43dfcb /src/password-store.sh | |
parent | ee0d3f1a7884877a50ddc3d334777475cc2e3ea9 (diff) | |
download | pass-3f250ecca3da1e2dcf0a85d788e286a0b7212967.tar.gz pass-3f250ecca3da1e2dcf0a85d788e286a0b7212967.tar.bz2 pass-3f250ecca3da1e2dcf0a85d788e286a0b7212967.zip |
Better error messages.
Diffstat (limited to '')
-rwxr-xr-x | src/password-store.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 8a56afc..082501d 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -52,7 +52,7 @@ set_gpg_recipients() { if [[ ! -f $current ]]; then cat <<-_EOF - ERROR: You must run: + Error: You must run: $PROGRAM init your-gpg-id before you may use the password store. @@ -292,7 +292,7 @@ cmd_find() { fi if ! tree --version | grep -q "Jason A. Donenfeld"; then cat <<-_EOF - ERROR: $PROGRAM: incompatible tree command + Error: incompatible tree command. Your version of the tree command is missing the relevent patch to add the --matchdirs and --caseinsensitive switches. Please ask your distribution @@ -503,7 +503,7 @@ cmd_git() { elif [[ -d $GIT_DIR ]]; then exec git "$@" else - echo "Error: the password store is not a git repository." + echo "Error: the password store is not a git repository. Try \"$PROGRAM git init\"." exit 1 fi } |