On Fri, Sep 4, 2009 at 3:50 AM, Xyne<[email protected]> wrote:
>> Instead of adding several options, wouldn't it be possible to let "-p"
>> accept a string argument with formatting information similar to the way
>> the date command works. This would be extensible in the future and
>> could include the following interpretted sequences (among others)
>>
>> %u - url
>> %n - pkgname
>> %v - pkgver-pkgrel
>> %s - size
>
>
> %r - repo
>
> I think the repo would be very useful as well.
>
>

btw the copy/paste were my previous --print patch which did not have
the --print-format option.
my new patch has %u %n %v, and adding %s and %r will be easy as well.
one problem is that url and repo are only available for the -S operation.

or maybe url could just be replaced by the filename for -U and -R.
and repo by 'local'

Reply via email to