[pacman-dev] [PATCH] clarified descriptions for pactree -r (--help and pactree(8))

Allan McRae allan at archlinux.org
Sun Jul 14 21:29:03 EDT 2013


On 15/07/13 10:44, William Giokas wrote:
> On Mon, Jul 15, 2013 at 06:39:45AM +0600, Zulker Nayeen Nahiyan wrote:
>> Signed-off-by: Zulker Nayeen Nahiyan <nahiyan02 at gmail.com>
>> ---
>>  doc/pactree.8.txt  | 2 +-
>>  src/util/pactree.c | 2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/doc/pactree.8.txt b/doc/pactree.8.txt
>> index 6ecaf23..0e9f733 100644
>> --- a/doc/pactree.8.txt
>> +++ b/doc/pactree.8.txt
>> @@ -48,7 +48,7 @@ Options
>>  	Prints package names at the start of each line, one per line.
>>  
>>  *-r, \--reverse*::
>> -	Show packages that depend on the named package.
>> +	Show packages that depend on the named package instead.
> Remove the 'instead' from the end and I'd say it sounds okay.
>>  
>>  *-s, \--sync*::
>>  	Read package data from sync databases instead of local database.
>> diff --git a/src/util/pactree.c b/src/util/pactree.c
>> index 33cf66c..3b4eb9e 100644
>> --- a/src/util/pactree.c
>> +++ b/src/util/pactree.c
>> @@ -319,7 +319,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"
>> -			"  -r, --reverse        show reverse dependencies\n"
>> +			"  -r, --reverse        list packages that depend on PACKAGE instead\n"
> Same here.

I'd make it "list packages that depend on the named package"


>>  			"  -s, --sync           search sync DBs instead of local\n"
>>  			"  -u, --unique         show dependencies with no duplicates (implies -l)\n"
>>  			"      --config <path>  set an alternate configuration file\n");
> 
> 
> 
> 



More information about the pacman-dev mailing list