summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-17 21:38:23 +0100
committerMichael Vogt <mvo@debian.org>2014-01-17 21:38:23 +0100
commit8a59cc322ac57c6662949e957611ed718a5f5119 (patch)
treeff58e95e5ac3a55ed6d372db3316eab2fcee6058
parent1410955589dc9f0eaa290907cac070b7ebf93b6a (diff)
add purge to the apt cmdline
-rw-r--r--cmdline/apt.cc6
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