View | Details | Raw Unified | Return to bug 6815
Collapse All | Expand All

(-)apt-0.5.15cnc6~/cmdline/apt-cache.cc (-3 / +3 lines)
Lines 1958-1966 int main(int argc,const char *argv[]) Link Here
1958
1958
1959
   // Parse the command line and initialize the package library
1959
   // Parse the command line and initialize the package library
1960
   CommandLine CmdL(Args,_config);
1960
   CommandLine CmdL(Args,_config);
1961
   if (CmdL.Parse(argc,argv) == false ||
1961
   if (pkgInitConfig(*_config) == false ||
1962
       pkgInitConfig(*_config) == false ||
1962
       pkgInitSystem(*_config,_system) == false ||
1963
       pkgInitSystem(*_config,_system) == false)
1963
       CmdL.Parse(argc,argv) == false)
1964
   {
1964
   {
1965
      _error->DumpErrors();
1965
      _error->DumpErrors();
1966
      return 100;
1966
      return 100;
(-)apt-0.5.15cnc6~/cmdline/apt-cdrom.cc (-3 / +3 lines)
Lines 901-909 int main(int argc,const char *argv[]) Link Here
901
901
902
   // Parse the command line and initialize the package library
902
   // Parse the command line and initialize the package library
903
   CommandLine CmdL(Args,_config);
903
   CommandLine CmdL(Args,_config);
904
   if (CmdL.Parse(argc,argv) == false ||
904
   if (pkgInitConfig(*_config) == false ||
905
       pkgInitConfig(*_config) == false ||
905
       pkgInitSystem(*_config,_system) == false ||
906
       pkgInitSystem(*_config,_system) == false)
906
       CmdL.Parse(argc,argv) == false)
907
   {
907
   {
908
      _error->DumpErrors();
908
      _error->DumpErrors();
909
      return 100;
909
      return 100;
(-)apt-0.5.15cnc6~/cmdline/apt-config.cc (-3 / +3 lines)
Lines 109-117 int main(int argc,const char *argv[]) Link Here
109
109
110
   // Parse the command line and initialize the package library
110
   // Parse the command line and initialize the package library
111
   CommandLine CmdL(Args,_config);
111
   CommandLine CmdL(Args,_config);
112
   if (CmdL.Parse(argc,argv) == false ||
112
   if (pkgInitConfig(*_config) == false ||
113
       pkgInitConfig(*_config) == false ||
113
       pkgInitSystem(*_config,_system) == false ||
114
       pkgInitSystem(*_config,_system) == false)
114
       CmdL.Parse(argc,argv) == false)
115
   {
115
   {
116
      _error->DumpErrors();
116
      _error->DumpErrors();
117
      return 100;
117
      return 100;
(-)apt-0.5.15cnc6~/cmdline/apt-get.cc (-3 / +3 lines)
Lines 3177-3185 int main(int argc,const char *argv[]) Link Here
3177
3177
3178
   // Parse the command line and initialize the package library
3178
   // Parse the command line and initialize the package library
3179
   CommandLine CmdL(Args,_config);
3179
   CommandLine CmdL(Args,_config);
3180
   if (CmdL.Parse(argc,argv) == false ||
3180
   if (pkgInitConfig(*_config) == false ||
3181
       pkgInitConfig(*_config) == false ||
3181
       pkgInitSystem(*_config,_system) == false ||
3182
       pkgInitSystem(*_config,_system) == false)
3182
       CmdL.Parse(argc,argv) == false)
3183
   {
3183
   {
3184
      if (_config->FindB("version") == true)
3184
      if (_config->FindB("version") == true)
3185
	 ShowHelp(CmdL);
3185
	 ShowHelp(CmdL);
(-)apt-0.5.15cnc6~/cmdline/apt-shell.cc (-3 / +3 lines)
Lines 4544-4552 int main(int argc,const char *argv[]) Link Here
4544
4544
4545
   // Parse the command line and initialize the package library
4545
   // Parse the command line and initialize the package library
4546
   CommandLine CmdL(CommandArgs(""),_config);
4546
   CommandLine CmdL(CommandArgs(""),_config);
4547
   if (CmdL.Parse(argc,argv) == false ||
4547
   if (pkgInitConfig(*_config) == false ||
4548
       pkgInitConfig(*_config) == false ||
4548
       pkgInitSystem(*_config,_system) == false ||
4549
       pkgInitSystem(*_config,_system) == false)
4549
       CmdL.Parse(argc,argv) == false)
4550
   {
4550
   {
4551
      if (_config->FindB("version") == true)
4551
      if (_config->FindB("version") == true)
4552
	 ShowHelp(CmdL);
4552
	 ShowHelp(CmdL);

Return to bug 6815