[pacman-dev] [PATCH] add man page for pactree

Andrew Gregory andrew.gregory.8 at gmail.com
Thu Jun 21 19:22:11 EDT 2012


Found a couple typos and a missing implied option.

On Thu, 21 Jun 2012 16:05:16 -0700
rambham at gmail.com wrote:

...

> diff --git a/doc/pactree.8.txt b/doc/pactree.8.txt
> new file mode 100644
> index 0000000..d7a5b4a
> --- /dev/null
> +++ b/doc/pactree.8.txt
> @@ -0,0 +1,64 @@
> +/////
> +vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
> +/////
> +pacman(8)

s/pacman/pactree/

> +=========
> +
> +Name
> +----
> +pactree - package dependency tree viewer
> +
> +
> +Synopsis
> +--------
> +'pactree' [options] package
> +
> +Description
> +-----------
> +Pactree produces a dependency tree for a package. The reverse can also
> +be shown - packages that depend on the named package. 
> +
> +By default a tree like output is generated, but with the -g option a graphviz
> +description is generated.
> +
> +Options
> +-------
> +*-c, \--color*::
> +	Colorize output.
> +
> +*-d, \--depth <num>*::
> +	Limits the number of levels of dependancy to show. A zero means

s/dependancy/dependency/

> +	show the named package only, one shows the packages that are directly
> +	required.
> +
> +*-g, \--graph*::
> +	Generate graphviz desciption. If this option is given the -c and -l

s/desciption/description/

> +        options are ignored.

s/ options/options/

> +
> +*-h, \--help*::
> +	Display brief usage message and exit.
> +
> +*-l, \--linear*::
> +	Prints package names at the start of each line, one per line.
> +
> +*-r, \--reverse*::
> +	Show packages that depend on the named package.
> +
> +*-s, \--sync*::
> +	Read package data from sync databases instead of local database.
> +
> +*-u, \--unique*::
> +	List dependent packages once.

Implies --linear.

> +
> +*-c, \--color*::
> +	Use color in the output. This is done using escape codes that
> +	should be understood by most terminal emulators.
> +
> +*\--config <file>*::
> +	Specify an alternate configuration file.
> +
> +See Also
> +--------
> +linkman:pacman[8], linkman:pacman.conf[5], linkman:makepkg[8]
> +
> +include::footer.txt[]



More information about the pacman-dev mailing list