[pacman-dev] [PATCH 1/2] add two entries to pacman manpage examples section
Xavier Chantry
chantry.xavier at gmail.com
Sun Jun 13 09:36:08 EDT 2010
On Sun, Jun 13, 2010 at 3:28 PM, Nico Schottelius
<nico-pacman-dev at schottelius.org> wrote:
>
> Signed-off-by: Nico Schottelius <nico at kr.ethz.ch>
> ---
> doc/pacman.8.txt | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
>
Not inline, but ok, I will just copy/paste below :)
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 3d14a42..3175ba5 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -415,6 +415,16 @@ original=X, current=Y, new=Z::
necessary changes into the original file.
+Examples
+--------
+
+pacman -Syu::
+ Update package list and upgrade all packages afterwards.
+
Yeah this is typically the important commands that are not obvious
when just quickly browsing the man page.
But as I said, it's already covered in the wiki :
http://wiki.archlinux.org/index.php/Pacman#Upgrading_packages
+pacman -U <'path'>::
+ Install package found in the specified file.
+
This one looks like the abstract description we already have, just shorter :
-U, --upgrade
Upgrade or add package(s) to the system and install the
required dependencies from sync repos.
Either a URL or file path can be specified. This is a
“remove-then-add” process. See Upgrade
Options below; also see Handling Config Files for an
explanation on how pacman takes care of
config files.
More information about the pacman-dev
mailing list