xbps-query: replace -D --defrepo' option with
-R' and `--repository=url'.
The argument in `--repository' is optional, therefore must be specified with `=' to work. If no argument is specified, repository mode is enabled preserving the repository list of configuration file.
This commit is contained in:
@ -52,8 +52,9 @@ usage(bool fail)
|
||||
" overwritten.\n"
|
||||
" -h --help Print help usage\n"
|
||||
" -n --dry-run Dry-run mode\n"
|
||||
" -R --repository <uri> Repository to be used. Can be specified\n"
|
||||
" multiple times.\n"
|
||||
" -R --repository=<url> Repository to be used. Can be specified\n"
|
||||
" multiple times. This overrides the repositories\n"
|
||||
" list of a configuration file.\n"
|
||||
" -r --rootdir <dir> Full path to rootdir\n"
|
||||
" -S --sync Sync remote repository index\n"
|
||||
" -u --update Update target package(s)\n"
|
||||
|
@ -69,8 +69,8 @@ is specified twice,
|
||||
Show the help usage.
|
||||
.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 Ar uri
|
||||
Default repository to be used. Multiple repositories can be specified. This repository
|
||||
.It Fl R, Fl -repository=uri
|
||||
Repository to be added to the list. Multiple repositories can be specified. This repository
|
||||
list overrides the list in a configuration file.
|
||||
.It Fl r, Fl -rootdir Ar dir
|
||||
Specifies a full path for the target root directory.
|
||||
|
Reference in New Issue
Block a user