From: Michael Vogt Date: Mon, 6 Jan 2014 06:59:37 +0000 (+0100) Subject: improve apt.8.xml X-Git-Tag: 1.0~9^2~5 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/259d88d94843fbce7c8100f8b337b7b8fb58b840?hp=1b4560fec66a6e7b2dff9aaa19095fb8423f69a0 improve apt.8.xml --- diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 5771e664f..170478174 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -76,11 +76,13 @@ bool ShowHelp(CommandLine &CmdL) " search - search in package descriptions\n" " show - show package details\n" "\n" - " update - update list of available packages\n" " install - install packages\n" - " upgrade - upgrade the systems 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" ); return true; diff --git a/doc/apt.8.xml b/doc/apt.8.xml index 0340e043f..bb1f6bb91 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,18 +41,26 @@ - - update is used to - resynchronize the package index files from their sources. + + list is used to + display a list of packages. It supports shell pattern for matching + package names and the following options: + + + + are supported. - + - - upgrade is used to install the - newest versions of all packages currently installed on the system - from the sources enumerated in - /etc/apt/sources.list. New package will be - installed, but existing package will never removed. + + search searches for the given + term(s) and display matching packages. + + + + + show shows the package information + for the given package(s). @@ -80,6 +87,28 @@ installed instead of removed. + + edit-sources lets you edit + your sources.list file and provides basic sanity checks. + + + + + update is used to + resynchronize the package index files from their sources. + + + + + upgrade is used to install the + newest versions of all packages currently installed on the system + from the sources enumerated in + /etc/apt/sources.list. New package will be + installed, but existing package will never removed. + + + +