From a12b1b671b8c8ff5b630a3a505d42e9aa34a607f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 20 Dec 2012 07:11:05 +0100 Subject: [PATCH] xbps-query.8: explain pkg states for the -l option. --- bin/xbps-query/xbps-query.8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/bin/xbps-query/xbps-query.8 b/bin/xbps-query/xbps-query.8 index 6cbe7a80..51eb8aba 100644 --- a/bin/xbps-query/xbps-query.8 +++ b/bin/xbps-query/xbps-query.8 @@ -80,6 +80,26 @@ queried in registered repositories. .Bl -tag -width -x .It Fl l, Fl -list-pkgs Lists registered packages in the package database (pkgdb). +A package can be in any of the following states: +.Bl -item -width xx -compact +.Pp +.It +.Sy ii +Package is installed. +.It +.Sy uu +Package is unpacked but must be configured with +.Xr xbps-reconfigure 8 . +.It +.Sy hr +Package is +.Sy half-removed , +and can be fully removed with +.Xr xbps-remove 8 . +.It +.Sy ?? +Package state is unknown. +.El .It Fl L, Fl -list-repos Lists registered and working repositories. .It Fl m, Fl -list-manual-pkgs