FreeBSD Bugzilla – Attachment 156349 Details for
Bug 198899
ports-mgmt/pkg: pkg-version(8) manpage does not explain the option -r vs -R
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Implies -R (remote repo, not /usr/ports) when using -r reponame.
pkg-remote-repo.diff (text/plain), 1.14 KB, created by
Anthony Perkins
on 2015-05-04 21:41:37 UTC
(
hide
)
Description:
Implies -R (remote repo, not /usr/ports) when using -r reponame.
Filename:
MIME Type:
Creator:
Anthony Perkins
Created:
2015-05-04 21:41:37 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/docs/pkg-version.8 b/docs/pkg-version.8 >index c7f4b6d..847a5cb 100644 >--- a/docs/pkg-version.8 >+++ b/docs/pkg-version.8 >@@ -162,9 +162,7 @@ Automatic repository catalogue updates are only attempted when the > effective UID of the process has write access to the package database. > Otherwise they are silently ignored. > .It Fl r Ar reponame , Cm --repository Ar reponame >-When using >-.Fl R >-compare installed package versions to packages available from the >+Compare installed package versions to packages available from the > named repository only, irrespective of the configured > .Dq active > status from >@@ -172,7 +170,8 @@ status from > By default all repository catalogues marked > .Dq active > are used for version comparisons. >-.Fl R >+Implies >+.Fl R . > .It Fl o , Cm --origin > Display package origin, instead of package name. > .It Fl q , Cm --quiet >diff --git a/src/version.c b/src/version.c >index f05b8f3..5c8e2b2 100644 >--- a/src/version.c >+++ b/src/version.c >@@ -853,6 +853,7 @@ exec_version(int argc, char **argv) > opt |= VERSION_SOURCE_REMOTE; > break; > case 'r': >+ opt |= VERSION_SOURCE_REMOTE; > reponame = optarg; > break; > case 'T':
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198899
: 156349