Junichi Uekawa wrote:
At Mon, 10 Sep 2007 23:20:11 +0300,
Famelis George wrote:
--- apt-listbugs-0.0.82/apt-listbugs    2007-09-10 22:21:13.000000000 +0300
+++ apt-listbugs-0.0.82/apt-listbugs.new        2007-09-10 22:31:24.000000000 
+0300
@@ -38,10 +38,6 @@
 be invoked before each upgrade by apt in order to check whether
the upgrade/installation is safe. -== USAGE
-
-apt-listbugs [-h] [-s <severities>] [-S <stats>] [-D] [-H <hostname>] [-p <port>] 
[-R] <command> [arguments]
-
 == OPTIONS
* -h | --help

Huh?



Sorry for the deletion. I noticed that [-R] was not an program option and then trying to synchronize the USAGE with the OPTIONS that are available, I realized that I had to write all the options again or let the SYNOPSIS only (to be also the USAGE).


>> In an interactive environment this can be done with an option, for
>> example --force-pin, but apt-get, as it is called by cron-apt, does not
>> pass options to apt-listbugs, so I had to introduce an apt.conf option
>> in order to be able to supply to apt-listbugs the required option.
>
> Why does --force-pin take 'all' as an option when there is no other
> possible option?  What other values are possible?
>
>
> regards,
>     junichi


As it is described in the patch, the optargs for --force-pin are either 'all' 
or any other value
(preferably 'none' for the meaning of the phrase).

The 'none' value is used when there is LISTBUGS::Force-Pin="all"; in apt.conf and you want to run apt-listbugs without automatic pinning e.g. when you want to select to ignore some bugs.

In this case you pass "--force-pin none" in order for apt-listbugs to set @config.force_pin to false and not to consult the apt.conf.

George



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to