chiark
/
gitweb
/
~ryounger
/
rss2irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4dbdbea
)
add --test cmd-line option.
author
W. Ross Younger
<ryounger@chiark.greenend.org.uk>
Sat, 11 Dec 2010 19:29:12 +0000 (19:29 +0000)
committer
W. Ross Younger
<ryounger@chiark.greenend.org.uk>
Sat, 11 Dec 2010 19:29:12 +0000 (19:29 +0000)
rss2irc.pl
patch
|
blob
|
history
diff --git
a/rss2irc.pl
b/rss2irc.pl
index
61efae4
..
680a782
100644
(file)
--- a/
rss2irc.pl
+++ b/
rss2irc.pl
@@
-18,6
+18,9
@@
my $irc = new Net::IRC;
my $TEST = 0;
+my $t = shift @ARGV;
+$TEST=1 if $t eq '--test';
+
print "Connecting...\n";
my $conn = $irc->newconn(