* Dmitry Maksyoma <ledes...@gmail.com> [2009-01-22 00:11]:
> jack -Q doesn't query freedb (but jack -U does):

I've ingestigated this issue now and you're not going to like what I
found (neither do I).  In short, the behaviour you get is the expected
behaviour.

query_on_start/-Q, as well as a number of other options, are defined
as "toggles".  What this means is that when you put "query_on_start"
in your ~/.jack3rc, you toggle the value on.  But when you then also
add the -Q option, the value is toggled again - and changed to no.

I think it doesn't make any sense for jack to set query_on_start to
"no" when you specify -Q on the command line, regardless of the config
file.  I think something like --no-<var> would make more sense to turn
an option off that has been specified in the config file.  However,
I'm not the author of jack, so I cannot make this behavioural change,
and unfortunately the author of jack hasn't touched the code in
several years.

As far as I know, the rationale behind the way toggles work is that it
allows you to turn an option off that has been turned on via the
config file (useful if you don't like what's in /etc/jackrc).

For now, you can either drop the -Q from the command line, or remove
query_on_start from your config file and specify -Q on the command
line.

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to