[pacman-dev] [PATCH 3/3] manpage: add real world examples

Allan McRae allan at archlinux.org
Thu Jul 1 03:19:57 EDT 2010


On 01/07/10 17:07, Xavier Chantry wrote:
> From: Nico Schottelius<nico at kr.ethz.ch>
>
> Signed-off-by: Nico Schottelius<nico at kr.ethz.ch>
> Signed-off-by: Xavier Chantry<chantry.xavier at gmail.com>

Signed-off-by: Allan

> ---
>   doc/pacman.8.txt |   19 +++++++++++++++++++
>   1 files changed, 19 insertions(+), 0 deletions(-)
>
> diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
> index 3d14a42..de1f51f 100644
> --- a/doc/pacman.8.txt
> +++ b/doc/pacman.8.txt
> @@ -415,6 +415,25 @@ original=X, current=Y, new=Z::
>   	necessary changes into the original file.
>
>
> +Examples
> +--------
> +
> +pacman -Ss ne.hack::
> +	Search for regexp "ne.hack" in package database.
> +
> +pacman -S gpm::
> +	Download and install gpm including dependencies.
> +
> +pacman -U /home/user/ceofhack-0.6-1-x86_64.pkg.tar.gz::
> +	Install ceofhack-0.6-1 package from a local file.
> +
> +pacman -Syu::
> +	Update package list and upgrade all packages afterwards.
> +
> +pacman -Syu gpm::
> +	Update package list, upgrade all packages, and then install gpm if it
> +	wasn't already installed.
> +
>   Configuration
>   -------------
>   See linkman:pacman.conf[5] for more details on configuring pacman using the






More information about the pacman-dev mailing list