[pacman-dev] makepkg: Add -q/--question output
Hi all, This is a request for comments on FS#18709. It requests adding a -q/--question option similar to make which does nothing but returns 0 if all packages are already built and 1 if not. It might be useful in scripts. Any opinions on this? I see no reason why not. The name is a bit weird but given that is what make uses, I see no reason not to be consistent. There is a patch (http://bugs.archlinux.org/task/18709?getfile=5006) which is fairly minor, but needs reviewing and documentation. Allan
On Mon, Mar 22, 2010 at 5:07 AM, Allan McRae <allan@archlinux.org> wrote:
Hi all,
This is a request for comments on FS#18709. It requests adding a -q/--question option similar to make which does nothing but returns 0 if all packages are already built and 1 if not. It might be useful in scripts.
Any opinions on this? I see no reason why not. The name is a bit weird but given that is what make uses, I see no reason not to be consistent.
There is a patch (http://bugs.archlinux.org/task/18709?getfile=5006) which is fairly minor, but needs reviewing and documentation.
Seems reasonable; however can we just have it be --question and not -q? We use -q in every other tool to indicate quietness and I'd rather leave that option open here. -Dan
participants (2)
-
Allan McRae
-
Dan McGee