pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit 583010d816b0fb5186bc6aaac5694b9c62fc1d2c
parent eff312c3183e7f9e9a1f2b8be0b27f1633ae9112
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Fri, 24 Apr 2015 00:35:32 -0600

pc_html: make default output silent

Diffstat:
Mpc_html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pc_html b/pc_html @@ -27,7 +27,7 @@ my $dbh = get_dbh($cfg->{http}, undef, $args{v}); my $clause = $args{a} ? "" : "where svg_stale = 1"; my ($n) = $dbh->selectrow_array("select count(*) from products $clause"); if ($n < 1) { - print "info: nothing stale\n"; + print "info: nothing stale\n" if ($args{v}); $dbh->disconnect(); exit; }