[pacman-dev] CVS update of pacman-lib/src/pacman (pacman.c)

Dan McGee dpmcgee at gmail.com
Sun Feb 4 11:24:43 EST 2007


On 2/4/07, Aaron Griffin <aaron at archlinux.org> wrote:
> Modified: pacman.c (1.87 -> 1.88)
>
> Added the --upgrades option for -Qu (--query --upgrades)
>
> Index: pacman-lib/src/pacman/pacman.c
> diff -u pacman-lib/src/pacman/pacman.c:1.87 pacman-lib/src/pacman/pacman.c:1.88
> --- pacman-lib/src/pacman/pacman.c:1.87 Sun Feb  4 03:26:53 2007
> +++ pacman-lib/src/pacman/pacman.c      Sun Feb  4 03:30:13 2007
> @@ -245,6 +245,7 @@
>                 {"root",       required_argument, 0, 'r'},
>                 {"recursive",  no_argument,       0, 's'},
>                 {"search",     no_argument,       0, 's'},
> +               {"upgrades",   no_argument,       0, 'u'},
>                 {"sysupgrade", no_argument,       0, 'u'},

What about making both of these options be "update" or "upgrade"?
Seems a bit silly to have duplication on essentially the same
operation (except for the actual install part).

-Dan




More information about the pacman-dev mailing list