On Mon, Nov 16, 2009 at 4:02 AM, Dan McGee <[email protected]> wrote: <SNIP>
Cool thanks for the review, looks like I have some work to do when I have time :) > > OK, and now for some usability testing. > > $ ./src/pacman/pacman -Q > <big list of packages> > ... > zope-interface 3.5.1-1 > zvbi 0.2.33-1 > > $ ./src/pacman/pacman -Q --print > error: no targets specified (use -h for help) > > So two things here- I expected --print to work and it did not, and we > already have the standard "pkgname <space> pkgver" output that our > default print format uses. Do we want to invent a new one with the > default --print for remove? > > Oh wait, does --print even work for -Q? Now I'm all confused. :) > $ ./src/pacman/pacman -Q --print pacman-git > error: package "pacman-git" not found > > $ ./src/pacman/pacman -Q pacman-git > pacman-git 20091018-1 > > More unexpected behavior... > > $ ./src/pacman/pacman -Ss --print pacman > core/pacman 3.3.3-1 (base) > A library-based package manager with dependency support > core/pacman-mirrorlist 20090616-1 (base) [installed] > Arch Linux mirror list for use by pacman > extra/namcap 2.4-1 [installed] > A Pacman package analyzer > > I wanted a list of URLs for all packages that matched my pacman > search, I did not get that... > Indeed, --print was not supposed to work with -Q and -Ss only with actual install (-S or -U) and remove (-R) operations. If I should add support for -Q and -Ss too, I will look into it.
