[pacman-dev] [PATCH] pactree: Add support for getting optional dependencies

Allan McRae allan at archlinux.org
Mon Apr 18 06:14:31 UTC 2016


On 26/02/16 07:44, Johannes Löthberg wrote:
> Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
> ---
>  doc/pactree.8.txt  |  3 +++
>  src/util/pactree.c | 41 ++++++++++++++++++++++++++++++++++++-----
>  2 files changed, 39 insertions(+), 5 deletions(-)
> 
> diff --git a/doc/pactree.8.txt b/doc/pactree.8.txt
> index b177788..4c391c0 100644
> --- a/doc/pactree.8.txt
> +++ b/doc/pactree.8.txt
> @@ -49,6 +49,9 @@ Options
>  *-l, \--linear*::
>  	Prints package names at the start of each line, one per line.
>  
> +*-o, \--optdeps*::
> +	Show packages that are optionally depended upon by the named package.

"Also show" or something to that effect.

<snip>

> @@ -266,6 +271,7 @@ static void usage(void)
>  			"  -g, --graph          generate output for graphviz's dot\n"
>  			"  -h, --help           display this help message\n"
>  			"  -l, --linear         enable linear output\n"
> +			"  -o, --optdeps        list packages that are optionally depended upon by the named package\n"

and here.


I'll follow-up the other comment separately.


More information about the pacman-dev mailing list