diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-17 21:38:23 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-17 21:38:23 +0100 |
commit | 8a59cc322ac57c6662949e957611ed718a5f5119 (patch) | |
tree | ff58e95e5ac3a55ed6d372db3316eab2fcee6058 /cmdline | |
parent | 1410955589dc9f0eaa290907cac070b7ebf93b6a (diff) | |
download | apt-8a59cc322ac57c6662949e957611ed718a5f5119.tar.gz |
add purge to the apt cmdline
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 8dc4c292a..61d5d938a 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -71,13 +71,16 @@ bool ShowHelp(CommandLine &CmdL) _("Usage: apt [options] command\n" "\n" "CLI for apt.\n" - "Commands: \n" + "Basic commands: \n" " list - list packages based on package names\n" " search - search in package descriptions\n" " show - show package details\n" "\n" " update - update list of available packages\n" + "\n" " install - install packages\n" + " remove - remove packages\n" + "\n" " upgrade - upgrade the systems packages\n" "\n" " edit-sources - edit the source information file\n" @@ -103,6 +106,7 @@ int main(int argc, const char *argv[]) /*{{{*/ // needs root {"install",&DoInstall}, {"remove", &DoInstall}, + {"purge", &DoInstall}, {"update",&DoUpdate}, {"upgrade",&DoAptUpgrade}, // misc |