summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2008-11-06 20:07:56 +0100
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2008-11-06 20:08:03 +0100
commite666355355be8396a2375a8e5b4224682831ca98 (patch)
tree832d63f99a4c787d5346daa92edf6c3318a7e5ff
parente78cc197dc3cc9e67f2d7d8fafb3f86812772b80 (diff)
downloadwgetpaste-e666355355be8396a2375a8e5b4224682831ca98.tar.gz
Better die message.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 5a544a0..27b173f 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -641,7 +641,7 @@ if [[ -z $DESCRIPTION ]]; then
fi
else
if [[ -n ${!size} && ${#DESCRIPTION} -gt ${!size} ]]; then
- die "The description for this pastebin service can be at most ${!size} bytes. You specified a description of ${#DESCRIPTION} bytes."
+ die "Your description (${#DESCRIPTION} bytes) is too long. Shorten it to fit within ${!size} bytes."
fi
fi