documentation/4620: pkg_add -i -u documentation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

documentation/4620: pkg_add -i -u documentation

Simon Kuhnle
>Number:         4620
>Category:       documentation
>Synopsis:       document that pkg_add needs -i to really update if -u
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 13 21:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Simon Kuhnle
>Release:        3.8-current
>Organization:
net
>Environment:
       
        System      : OpenBSD 3.8-current
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
Wouldn't it be much nicer if man page would tell everybody that
pkg_add doesn't really update stuff without giving the -i option?

>How-To-Repeat:
       
>Fix:
Perhaps something like this:

--- /usr/src/usr.sbin/pkg_add/pkg_add.1 Sun Nov 13 21:45:00 2005
+++ pkg_add.1   Sun Nov 13 21:44:21 2005
@@ -268,6 +268,9 @@
 This relies on
 .Ev PKG_PATH
 to figure out the new package names.
+Note that updates aren't really done unless
+.Fl i
+is given.
 .It Fl v
 Turn on verbose output.
 Several


>Release-Note:
>Audit-Trail:
>Unformatted: