diff options
author | Bo Ørsted Andresen <bo.andresen@zlin.dk> | 2008-11-06 20:07:56 +0100 |
---|---|---|
committer | Bo Ørsted Andresen <bo.andresen@zlin.dk> | 2008-11-06 20:08:03 +0100 |
commit | e666355355be8396a2375a8e5b4224682831ca98 (patch) | |
tree | 832d63f99a4c787d5346daa92edf6c3318a7e5ff | |
parent | e78cc197dc3cc9e67f2d7d8fafb3f86812772b80 (diff) | |
download | wgetpaste-e666355355be8396a2375a8e5b4224682831ca98.tar.gz |
Better die message.
-rwxr-xr-x | wgetpaste | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |