diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-10-18 05:34:54 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-10-18 05:34:54 +0000 |
commit | f4a324ac5170dc4627a7218be274261e719a1524 (patch) | |
tree | df2afb569e1312976b45e1b0b802534843dd7857 /usr.sbin/pkg_install/version/pkg_version.1 | |
parent | d4ddb4f67f6c08c57c2fe0cdf1bb137e79cb9c70 (diff) |
Add a -q flag to pkg_version. It suppresses the output of <,=,>.
This makes it possible to "portupgrade `pkg_version -q -l '<'`".
Notes
Notes:
svn path=/head/; revision=136643
Diffstat (limited to 'usr.sbin/pkg_install/version/pkg_version.1')
-rw-r--r-- | usr.sbin/pkg_install/version/pkg_version.1 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/version/pkg_version.1 b/usr.sbin/pkg_install/version/pkg_version.1 index 6ef25ae5b0a7..ad71e6c402cf 100644 --- a/usr.sbin/pkg_install/version/pkg_version.1 +++ b/usr.sbin/pkg_install/version/pkg_version.1 @@ -32,7 +32,7 @@ .Nd summarize installed versions of packages .Sh SYNOPSIS .Nm -.Op Fl hv +.Op Fl hqv .Op Fl l Ar limchar .Op Fl L Ar limchar .Oo @@ -137,6 +137,16 @@ Note that because some of the status flag characters are also special to the shell, it is best to quote .Ar limchar with single quotes. +.It Fl q +Enable quiet output. +Quiet output precludes printing the the +.Ar limchar +when used with +.Fl l +or +.Fl L . +This is useful when used as the input to +.Xr portupdate 8 . .It Fl s Limit the output to those packages whose names match a given .Ar string . @@ -194,7 +204,8 @@ option has been deprecated and is no longer supported. .Xr pkg_add 1 , .Xr pkg_create 1 , .Xr pkg_delete 1 , -.Xr pkg_info 1 +.Xr pkg_info 1 , +.Xr portupdate 8 .Sh FILES .Bl -tag -width /usr/ports/INDEX-5 -compact .It Pa /usr/ports/INDEX-5 |