diff --git a/ChangeLog b/ChangeLog index 3a85d22ad..e71f89f65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ * doc/descriptions/unsupported.desc: Added Canon PIXMA MP780 and Lexmark P6250. + * tools/sane-find-scanner.c: Don't print anything else but the + found messages in "-q" mode. 2005-08-15 Oliver Schwartz diff --git a/tools/sane-find-scanner.c b/tools/sane-find-scanner.c index 0648224ae..b00d801b2 100644 --- a/tools/sane-find-scanner.c +++ b/tools/sane-find-scanner.c @@ -1,6 +1,6 @@ /* sane-find-scanner.c - Copyright (C) 1997-2004 Oliver Rauch, Henning Meier-Geinitz, and others. + Copyright (C) 1997-2005 Oliver Rauch, Henning Meier-Geinitz, and others. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -1439,9 +1439,10 @@ main (int argc, char **argv) if (verbose > 1) printf ("This is sane-find-scanner from %s\n", PACKAGE_STRING); - printf ("\n # sane-find-scanner will now attempt to detect your scanner. If the" - "\n # result is different from what you expected, first make sure your" - "\n # scanner is powered up and properly connected to your computer.\n\n"); + if (verbose > 0) + printf ("\n # sane-find-scanner will now attempt to detect your scanner. If the" + "\n # result is different from what you expected, first make sure your" + "\n # scanner is powered up and properly connected to your computer.\n\n"); if (verbose > 1) printf ("searching for SCSI scanners:\n");