#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/metaindex.h>
+#include <apt-pkg/hashes.h>
#include <apti18n.h>
#include <apt-private/private-upgrade.h>
#include <apt-private/private-show.h>
#include <apt-private/private-main.h>
+#include <apt-private/private-utils.h>
+#include <apt-private/private-sources.h>
/*}}}*/
+
+
bool ShowHelp(CommandLine &CmdL)
{
ioprintf(c1out,_("%s %s for %s compiled on %s %s\n"),PACKAGE,PACKAGE_VERSION,
" search - search in package descriptions\n"
" show - show package details\n"
"\n"
- " update - update list of available packages\n"
" install - install packages\n"
+ " remove - remove packages\n"
+ "\n"
+ " edit-sources - edit the source information file\n"
+ "\n"
+ " update - update list of available packages\n"
" upgrade - upgrade the systems packages\n"
);
{"remove", &DoInstall},
{"update",&DoUpdate},
{"upgrade",&DoUpgradeWithAllowNewPackages},
+ // misc
+ {"edit-sources",&EditSources},
// helper
{"moo",&DoMoo},
{"help",&ShowHelp},
}
// FIXME: move into a new libprivate/private-install.cc:Install()
- _config->Set("DPkgPM::Progress", "1");
+ _config->Set("DPkgPM::Progress-Fancy", "1");
_config->Set("Apt::Color", "1");
// Parse the command line and initialize the package library