mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
make verbose output a command line switch
This commit is contained in:
parent
1cf55b781e
commit
3773ef2cb4
@ -7,6 +7,10 @@ use strict;
|
||||
|
||||
my $VERBOSE = 1;
|
||||
|
||||
use Getopt::Long;
|
||||
my $VERBOSE = 0;
|
||||
GetOptions("verbose" => \$VERBOSE);
|
||||
|
||||
# Establish a database connection.
|
||||
my $dsn = "DBI:mysql:host=mecha.mozilla.org;database=downloadstats;port=3306";
|
||||
my $dbh = DBI->connect($dsn,
|
||||
|
Loading…
Reference in New Issue
Block a user