[pacman-dev] [PATCH 1/7] pacman: indicate --overwrite takes a glob

Allan McRae allan at archlinux.org
Tue Jan 19 02:03:43 UTC 2021


On 16/1/21 5:20 pm, Andrew Gregory wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
>  src/pacman/pacman.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
> index 7b19162c..b39f5031 100644
> --- a/src/pacman/pacman.c
> +++ b/src/pacman/pacman.c
> @@ -189,7 +189,7 @@ static void usage(int op, const char * const myname)
>  		switch(op) {
>  			case PM_OP_SYNC:
>  			case PM_OP_UPGRADE:
> -				addlist(_("      --overwrite <path>\n"
> +				addlist(_("      --overwrite <glob>\n"

Ack - brings us inline with the man page.

>  				          "                       overwrite conflicting files (can be used more than once)\n"));
>  				addlist(_("      --asdeps         install packages as non-explicitly installed\n"));
>  				addlist(_("      --asexplicit     install packages as explicitly installed\n"));
> 


More information about the pacman-dev mailing list