]>
git.saurik.com Git - apt.git/blob - test/libapt/commandline_test.cc
a37fb022023392955a12d428e21c1fac98565498
1 #include <apt-pkg/cmndline.h>
7 CommandLine::Args Args
[] = {
8 { 't', 0, "Test::Worked", 0 },
9 { 'z', "zero", "Test::Zero", 0 },
13 CommandLine
CmdL(Args
,_config
);
14 char const * argv
[] = { "test", "--zero", "-t" };
17 equals(true, _config
->FindB("Test::Worked", false));
18 equals(true, _config
->FindB("Test::Zero", false));