From 70d5cea79cdb2f8a29ad54934f9b1b2374246f8a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 6 Dec 2014 11:21:30 +0100 Subject: [PATCH] xbps-{install,query}.8: document -R and --repository independently. --- bin/xbps-install/xbps-install.8 | 12 +++++++++--- bin/xbps-query/xbps-query.8 | 10 ++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/bin/xbps-install/xbps-install.8 b/bin/xbps-install/xbps-install.8 index f55ccb3d..efff9ff1 100644 --- a/bin/xbps-install/xbps-install.8 +++ b/bin/xbps-install/xbps-install.8 @@ -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. .It Fl n, Fl -dry-run Dry-run mode. Show what actions would be done but don't do anything. -.It Fl R, Fl -repository=uri -Repository to be added to the top of the list. This option can be specified multiple times. -For local repositories an absolute path is expected. +.It Fl R +Enable repository mode. This mode explicitly looks in repositories, rather +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 Specifies a full path for the target root directory. .It Fl S, Fl -sync diff --git a/bin/xbps-query/xbps-query.8 b/bin/xbps-query/xbps-query.8 index a084ccdf..125fede5 100644 --- a/bin/xbps-query/xbps-query.8 +++ b/bin/xbps-query/xbps-query.8 @@ -76,13 +76,15 @@ operation. This ignores the existing on-disk repository archives in rootdir. .It Fl p, Fl -property Ar PROP[,...] Only match this package property. 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 -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 -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. -For local repositories an absolute path is expected. .It Fl -regex Enables string matching by using Extended Regular Expressions in compatible modes, currently in the