From: Bastian Dehn Date: Thu, 3 Apr 2025 18:17:01 +0000 (+0200) Subject: change log missing parameter X-Git-Tag: v1.0.6^2~1 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=f0c3f2846eb972798d60068a34ef0ff6c2a34a8e;p=scantopdf.git change log missing parameter --- diff --git a/scantopdf b/scantopdf index b781fec..0606468 100755 --- a/scantopdf +++ b/scantopdf @@ -12,8 +12,8 @@ main() command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? - [ -n "$pagecount" ] || errlog "no page count" || return $? - [ -n "$output" ] || errlog "no pdf file name" || return $? + [ -n "$pagecount" ] || errlog "missing page count" || return $? + [ -n "$output" ] || errlog "missing output name" || return $? scanimage --source=DocumentFeeder \ --mode=Color \ diff --git a/scantopdfbw b/scantopdfbw index d60720d..2007c6a 100755 --- a/scantopdfbw +++ b/scantopdfbw @@ -12,8 +12,8 @@ main() command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? - [ -n "$pagecount" ] || errlog "no page count" || return $? - [ -n "$output" ] || errlog "no pdf file name" || return $? + [ -n "$pagecount" ] || errlog "missing page count" || return $? + [ -n "$output" ] || errlog "missing output name" || return $? scanimage --source=DocumentFeeder \ --mode=BW \ diff --git a/scantopdfgray b/scantopdfgray index 8ed6bc4..0d28506 100755 --- a/scantopdfgray +++ b/scantopdfgray @@ -12,8 +12,8 @@ main() command -v scanimage > /dev/null \ || errlog "command scanimage not found" \ || return $? - [ -n "$pagecount" ] || errlog "no page count" || return $? - [ -n "$output" ] || errlog "no pdf file name" || return $? + [ -n "$pagecount" ] || errlog "missing page count" || return $? + [ -n "$output" ] || errlog "missing output name" || return $? scanimage --source=DocumentFeeder \ --mode=Gray \