From 132a7f8811f4558a7cbab620b0de4401f5d27d66 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 6 Jan 2014 07:49:01 +0100 Subject: [PATCH] document list/search --- cmdline/apt.cc | 4 +++- doc/apt.8.xml | 20 ++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/cmdline/apt.cc b/cmdline/apt.cc index b2f19c049..d2eb7a5a3 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -72,8 +72,10 @@ bool ShowHelp(CommandLine &CmdL) " show - show package details\n" "\n" " update - update list of available packages\n" - " install - install packages\n" " upgrade - upgrade the systems packages\n" + "\n" + " install - install packages\n" + " remove - remove packages\n" ); return true; diff --git a/doc/apt.8.xml b/doc/apt.8.xml index 0340e043f..a0ae9086d 100644 --- a/doc/apt.8.xml +++ b/doc/apt.8.xml @@ -13,7 +13,6 @@ - &apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; @@ -42,11 +41,28 @@ + + list is used to + display a list of packages. It supports shell pattern for matching + package names and the following options: + + + + are supported. + + + + + search searches for the given + term(s) and display matching packages. + + + update is used to resynchronize the package index files from their sources. - + upgrade is used to install the -- 2.47.2