Re: Command line option processing

Bernd Schroeder (bernd@aquila.muc.de)
Fri, 11 Sep 1998 14:30:56 +0200

Hi,

On Thu, Sep 10, 1998 at 04:47:13PM -0700, Marcel Oliver wrote:
> Is it possible to set inactive options in scanimage? I would like to
> run scanimage from a script which supplies all the options. However,
> if I try to do something like
>
> scanimage --resolution-bind no \
> --x-resolution 204 \
> --y-resolution 196
>
> all I get an error message
>
> scanimage: attempted to set inactive option x-resolution

If you use

scanimage --resolution-bind=no \
--x-resolution 204 \
--y-resolution 196

(with an equals sign between the option name and its value) it should
work.

Bernd

-- 
Bernd Schroeder 
Email: mailto:bernd@aquila.muc.de
WWW:   http://www.muc.de/~bernds/
PGP public key available: mailto:pgp@aquila.muc.de | Subject: send key 

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com