allow options between command and -- on commandline
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 27 Sep 2014 23:25:21 +0000 (01:25 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Nov 2014 16:23:29 +0000 (17:23 +0100)
commitc505fa33a6441b451971ce6c636cf2ca4dacdc1d
treea2bc5577532fdeb48a4d945a743593112740479e
parent50ef3344c3afaaf9943142906b2f976a0337d264
allow options between command and -- on commandline

This used to work before we implemented a stricter commandline parser
and e.g. the dd-schroot-cmd command constructs commandlines like this.

Reported-By: Helmut Grohne
apt-pkg/contrib/cmndline.cc
test/libapt/commandline_test.cc
test/libapt/makefile