Bug#656844: apt: support #clear directive in CommandLine parser

2012-01-23 Thread Daniel Hartwig
On 23 January 2012 21:07, David Kalnischkies wrote: > Hi! > > On Sun, Jan 22, 2012 at 10:02, Daniel Hartwig wrote: >> Patch to add support for clearing configuration items from the command-line: >> >>  $ apt-config -o Foo::Bar=1 -o "#clear Foo::Bar" dump | grep ^Foo > > Thanks for the patch! > >

Bug#656844: apt: support #clear directive in CommandLine parser

2012-01-23 Thread David Kalnischkies
Hi! On Sun, Jan 22, 2012 at 10:02, Daniel Hartwig wrote: > Patch to add support for clearing configuration items from the command-line: > >  $ apt-config -o Foo::Bar=1 -o "#clear Foo::Bar" dump | grep ^Foo Thanks for the patch! But i am not sure if this is a good idea. Adding it this way means

Bug#656844: apt: support #clear directive in CommandLine parser

2012-01-22 Thread Daniel Hartwig
Package: apt Severity: wishlist Usertags: push Patch to add support for clearing configuration items from the command-line: $ apt-config -o Foo::Bar=1 -o "#clear Foo::Bar" dump | grep ^Foo Foo ""; Foo::Bar ""; === modified file 'apt-pkg/contrib/cmndline.cc' --- apt-pkg/contrib/cmndline.cc 201