xbps-repo: implement new target 'pkg-list' to list pkgs from target repo.

This commit is contained in:
Juan RP
2011-12-03 10:37:31 +01:00
parent cb2e941b48
commit 43d85c76b3
9 changed files with 75 additions and 23 deletions

View File

@@ -94,6 +94,13 @@ will be removed automatically\&.
Lists all working repositories in repository pool\&.
.RE
.PP
\fBpkg\-list [\fR\fB\fIindex\fR\fR\fB]\fR
.RS 4
Lists all currently registered packages in repository index as specified in the \fIindex\fR argument.
If argument is not specified, all repositories will be used to list packages\&. The argument
expects a decimal number starting from 0, matching the output of the \fIlist\fR target.
.RE
.PP
\fBsearch\fR \fIpattern\fR
.RS 4
Search for packages containing the shell