[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#362553: apt: hiddeous syntax award for -oDPkg::Options::=



On Fri, Apr 14, 2006 at 12:59:59AM -0400, Justin Pryzby wrote:
> Package: apt
> Version: 0.6.43.3

Thanks for your bugreport.
 
> Apt wins the hiddeous syntax award for the day:
> 
> apt-get -oDPkg::Options::=--force-overwrite install {debianutils,passwd}/stable
> 
> It doesn't work without the second pair of double-colons, which I
> don't understand, haven't seen used anywhere else, thus undocumented,
> is unintuitive, and well, ugly.

This second pair of double-colons indicates that the option should be
added to a list (Dpkg::Options is a list of arguments passed to
dpkg). I'll happily apply patches that document the apt configuration
synatx.

Cheers,
 Michael

-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



Reply to: