port search --maintainer[s]
Rainer Müller
raimue at macports.org
Thu Mar 30 19:10:17 UTC 2017
[sending again with correct list address]
On 03/30/2017 06:18 PM, Jan Stary wrote:
> This is 2.4.99 from git running on 10.6.8.
> The 'port search' recognizes '--maintainer' and '--maintainers',
> but the guide says '--maintainer' and '--maintainer'
> while port-search.1 only says '--maintainer'.
> Attached please find a diff for each.
Note that all long options can be shortened as long as they are unique, so you
could even use 'port search --maint foobar'. Maybe we want to simplify the code
and leave out the explicit singular forms (although we cannot do that for
"categories")?
These friendly field names are mapped like this in multiple places, for example
also for pseudo-port selectors in 'port echo maintainer:foobar'.
https://github.com/macports/macports-base/blob/eed6ffce1ca194b803abe429180ccbbce25f013d/src/port/port.tcl#L237-L257
> There is also port-search.1.txt in git, which gets out of sync with this.
> Why are the generated *.txt files in the repository?
It is actually the other way around. See my other mail.
Rainer
More information about the macports-dev
mailing list