From f0c3f2846eb972798d60068a34ef0ff6c2a34a8e Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Thu, 3 Apr 2025 20:17:01 +0200 Subject: [PATCH] change log missing parameter --- scantopdf | 4 ++-- scantopdfbw | 4 ++-- scantopdfgray | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 \ -- 2.39.5