On Wed, May 20, 2009 at 2:07 PM, Brendan Hide <bren...@swiftspirit.co.za> wrote: > Hi all > > I'm still getting my head around git and pacman-dev's workflow - I know its > not that complicated, just need a bit of time. > > When using --noconfirm the prompt is presented (odd part) and the user > (rightly) is not given an opportunity to confirm: >> >> [ bren...@swift : 12:36:40 : ~/src/pacman ] >> :) sudo pacman -Sc --noconfirm >> Cache directory: /var/cache/pacman/pkg/ >> Do you want to remove outdated packages from cache? [Y/n] >> <------ >> removing old packages from cache... done. >> Database directory: /var/lib/pacman/ >> Do you want to remove unused repositories? [Y/n] <------ >> Database directory cleaned up >> [ bren...@swift : 12:36:57 : ~/src/pacman ] >> :) > > Best fix I can think of is to just mention that we're using a default > because the --noconfirm flag has been used. The alternative (which is less > informative for the user) is to not present the prompt at all. >
If you add another sentence, it's redundant imo. pacman already shows the default answer in upper case, so we already know that Yes was chosen in both cases, automatically because of --noconfirm. _______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev