From 00c2e28e99cdef76c84bf5cca0e9dd786086bb38 Mon Sep 17 00:00:00 2001 From: Gustavo Arnosti Neves Date: Sun, 10 Jul 2016 06:00:48 -0300 Subject: [PATCH] v1.0.9 Fix Invalid scale factor message error message was outdated --- pdfScale.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdfScale.sh b/pdfScale.sh index ae92a0e..0747276 100644 --- a/pdfScale.sh +++ b/pdfScale.sh @@ -11,7 +11,7 @@ # And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a -VERSION="1.0.8" +VERSION="1.0.9" SCALE="0.95" # scaling factor (0.95 = 95%, e.g.) VERBOSE=0 # verbosity Level BASENAME="$(basename $0)" # simplified name of this script @@ -95,7 +95,7 @@ printDependency() { parseScale() { if ! [[ -n "$1" && "$1" =~ ^-?[0-9]*([.][0-9]+)?$ && (($1 > 0 )) ]] ; then echo >&2 "Invalid factor: $1" - echo >&2 "The factor must be a number between 0 and 1." + echo >&2 "The factor must be a floating point number greater than 0" echo >&2 "Example: for 80% use 0.8" exit 2 fi