[pacman-dev] [PATCH v2 1/2] Document pacman -F

Allan McRae allan at archlinux.org
Wed Oct 28 03:17:27 UTC 2015


On 26/10/15 02:06, Florian Pritz wrote:
> Signed-off-by: Florian Pritz <bluewind at xinu.at>
> ---
> 
> v2:
>  - Document --refresh
> 
>  doc/pacman.8.txt | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
> index 5c57450..38b8bb7 100644
> --- a/doc/pacman.8.txt
> +++ b/doc/pacman.8.txt
> @@ -110,6 +110,11 @@ greater than `1:3.6-1`.
>  	Options>> below; also see <<HCF,Handling Config Files>> for an explanation
>  	on how pacman takes care of configuration files.
>  
> +*-F, \--files*::
> +	Query the files database. This operation allows you to look for package
> +	owning certain files or display files owned by certain packages. See
> +	<<FO,File Options>> below.
> +
>  *-V, \--version*::
>  	Display version and exit.
>  
> @@ -451,6 +456,27 @@ Database Options[[QO]]
>  	a check on the sync databases to ensure all specified dependencies
>  	are available.
>  
> +File Options[[FO]]
> +------------------
> +
> +The '--list', '--search' and '--owns' options are exclusive and can not be combined.

I first read that as --list can not be combined with anything else (e.g.
--refresh).  I also note that we do not do that for any other option, so
is it fine just to delete this line?


> +
> +*-y, --refresh*::
> +	Download fresh package databases from the server. Use twice to force a
> +	refresh even if databases are up to date.
> +
> +*-l <package>, \--list <package>*::
> +	List the files owned by the queried package.
> +
> +*-s <pattern>, \--search <pattern>*::
> +	Search package file names for matching strings.
> +
> +*-x, --regex*::
> +	Treat arguments to '--search' as regular expressions.
> +
> +*-o <file>, \--owns<file>*::
> +	Search for packages that own a particular file.
> +
>  
>  Handling Config Files[[HCF]]
>  ----------------------------
> 


More information about the pacman-dev mailing list