help text of rpm applet

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Aug 22 08:05:58 UTC 2008


On Thu, Aug 21, 2008 at 11:48:55PM +0200, Tito wrote:
>On Thursday 21 August 2008 22:12:52 Bernhard Reutner-Fischer wrote:
>> Hi,
>> 
>> The help-text of rpm sounds like it's inaccurate.
>> 
>> #define rpm_full_usage "\n\n" \
>>        "Manipulate RPM packages\n" \
>>      "\nOptions:" \
>>      "\n        -i      Install package" \
>>      "\n        -q      Query package" \
>>      "\n        -p      Query uninstalled package" \
>>      "\n        -i      Show information" \
>>      "\n        -l      List contents" \
>>      "\n        -d      List documents" \
>>      "\n        -c      List config files" \
>> 
>> 
>> perhaps this should rather be something like
>> 
>> #define rpm_full_usage "\n\n" \
>>        "Manipulate RPM packages\n" \
>>      "\nOptions:" \
>>      "\n        -i      Install package" \
>>      "\n        -p      Query uninstalled package" \
>>      "\n        -q      Query package" \
>>      "\n	Query flags:" \
>>      "\n        i       information" \
>>      "\n        l       contents" \
>>      "\n        d       documents" \
>>      "\n        c       config files" \
>> 
>> Perhaps somebody with an rpm lying around can check if that would be
>> accurate?
>
>Hi,
>here with RPM version 4.4.2.3 i get:
>
>-i                           Install
>Query options with -q
>-p                          query/verify a package file
>-l                           list files in package
>-d                          list all documentation files
>-c                          list all configuration files
>--dump                  dump basic file information

Did you write this manually or is their indentation foo'ed up?
>
>so no -q -i 

very odd. What do you see if you do
$ rpm -qi acl
$ rpm -q -i acl
(assuming that you have a package named "acl" installed)?



More information about the busybox mailing list