aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-26 14:58:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-26 14:58:09 +0200
commit733ed5b60710c64a1851ad92706c52fcf58c19f7 (patch)
tree1bf53140ee7b8d1da49fec505c0c688a855d8408 /bpkg/pkg-status.cli
parent14f56876f64e7557ef695633b31e9a1c093f9c3e (diff)
Add support for specifying multiple packages in pkg-status|status
Diffstat (limited to 'bpkg/pkg-status.cli')
-rw-r--r--bpkg/pkg-status.cli18
1 files changed, 11 insertions, 7 deletions
diff --git a/bpkg/pkg-status.cli b/bpkg/pkg-status.cli
index 87ff442..81403bb 100644
--- a/bpkg/pkg-status.cli
+++ b/bpkg/pkg-status.cli
@@ -15,16 +15,17 @@ namespace bpkg
"\h|SYNOPSIS|
- \c{\b{bpkg pkg-status}|\b{status} [<options>] <pkg>[/<ver>]}
+ \c{\b{bpkg pkg-status}|\b{status} [<options>] <pkg>[/<ver>]...}
\h|DESCRIPTION|
- The \cb{pkg-status} command prints the status of the specified package or,
- if <ver> is specified, package version. Note that the status is written
- to \cb{STDOUT}, not \cb{STDERR}.
+ The \cb{pkg-status} command prints the status of the specified packages
+ or, if <ver> is specified, package versions. Note that the status is
+ written to \cb{STDOUT}, not \cb{STDERR}.
- The status output format is regular. First always comes one of the
- following status words:
+ The status output format is regular. If several packages were specified,
+ then each line starts with the package name (and version, if specified)
+ followed by '\cb{:}'. Then comes one of the following status words:
\dl|
@@ -55,7 +56,6 @@ namespace bpkg
package is part of the configuration and is broken (broken packages
can only be purged; see \l{bpkg-pkg-purge(1)})||
-
If only the package name was specified without the package version, then
the \cb{available} status word is followed by the list of available
versions.
@@ -90,6 +90,10 @@ namespace bpkg
bpkg status libfoo
configured 1.0.0 hold_package; available 1.1.0 1.1.1
+
+ bpkg status libfoo/1.0.0 libbar
+ libfoo/1.0.0: configured hold_package
+ libbar: unknown
\
Assuming now that we dropped \cb{libfoo} from the configuration: