diff options
author | Michael Vogt <mvo@debian.org> | 2013-11-29 13:39:45 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-11-29 13:39:45 +0100 |
commit | e4a93f90b2e50f6833f7146496e574a5a9cedaca (patch) | |
tree | 836dd5e70b394f9996d4af0bdfcd52d2a388a007 /cmdline/apt.cc | |
parent | fdef7c5e3a19c5f35ee952598124d0fe8d03c7ec (diff) | |
parent | faeb435cab7b41a50c621ef9f96853d15c57d0d8 (diff) |
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
Conflicts:
apt-private/private-cmndline.cc
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r-- | cmdline/apt.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc index e30967ec2..4bcae0aba 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -41,6 +41,7 @@ #include <apt-pkg/pkgsystem.h> #include <apt-pkg/indexfile.h> #include <apt-pkg/metaindex.h> +#include <apt-pkg/hashes.h> #include <apti18n.h> @@ -54,8 +55,12 @@ #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, @@ -74,6 +79,8 @@ bool ShowHelp(CommandLine &CmdL) " update - update list of available packages\n" " install - install packages\n" " upgrade - upgrade the systems packages\n" + "\n" + " edit-sources - edit the source information file\n" ); return true; @@ -89,6 +96,8 @@ int main(int argc, const char *argv[]) /*{{{*/ {"remove", &DoInstall}, {"update",&DoUpdate}, {"upgrade",&DoUpgradeWithAllowNewPackages}, + // misc + {"edit-sources",&EditSources}, // helper {"moo",&DoMoo}, {"help",&ShowHelp}, |