xbps-{install,query}.8: document -R and --repository independently.

This commit is contained in:
Juan RP 2014-12-06 11:21:30 +01:00
parent 8ab44d3bc4
commit 70d5cea79c
2 changed files with 15 additions and 7 deletions

View File

@ -91,9 +91,15 @@ For remote repositories, the data is fetched and stored in memory for the curren
operation. This ignores the existing on-disk repository archives in rootdir. operation. This ignores the existing on-disk repository archives in rootdir.
.It Fl n, Fl -dry-run .It Fl n, Fl -dry-run
Dry-run mode. Show what actions would be done but don't do anything. Dry-run mode. Show what actions would be done but don't do anything.
.It Fl R, Fl -repository=uri .It Fl R
Repository to be added to the top of the list. This option can be specified multiple times. Enable repository mode. This mode explicitly looks in repositories, rather
For local repositories an absolute path is expected. than looking in the target root directory.
.It Fl -repository=url
Appends the specified repository to the top of the list. The
.Ar url
argument expects a URL to the repository for remote repositories or
an absolute path for local repositories.
This option can be specified multiple times.
.It Fl r, Fl -rootdir Ar dir .It Fl r, Fl -rootdir Ar dir
Specifies a full path for the target root directory. Specifies a full path for the target root directory.
.It Fl S, Fl -sync .It Fl S, Fl -sync

View File

@ -76,13 +76,15 @@ operation. This ignores the existing on-disk repository archives in rootdir.
.It Fl p, Fl -property Ar PROP[,...] .It Fl p, Fl -property Ar PROP[,...]
Only match this package property. Only match this package property.
Multiple properties can be specified by delimiting them with commas. Multiple properties can be specified by delimiting them with commas.
.It Fl R, Fl -repository=url .It Fl R
Enable repository mode. This mode explicitly looks in repositories, rather Enable repository mode. This mode explicitly looks in repositories, rather
than looking in the target root directory. The than looking in the target root directory.
.It Fl -repository=url
Appends the specified repository to the top of the list. The
.Ar url .Ar url
argument is optional and can be used to add the repository to the top of the list. argument expects a URL to the repository for remote repositories or
an absolute path for local repositories.
This option can be specified multiple times. This option can be specified multiple times.
For local repositories an absolute path is expected.
.It Fl -regex .It Fl -regex
Enables string matching by using Extended Regular Expressions in compatible modes, Enables string matching by using Extended Regular Expressions in compatible modes,
currently in the currently in the