3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

expand_macros.pl doesn't require a nick argument any longer, correct ARGV count

This commit is contained in:
Pragmatic Software 2014-03-22 18:52:54 +00:00
parent 8338b009d4
commit ee3fddf1eb
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 530, BUILD_REVISION => 531,
BUILD_DATE => "2014-03-18", BUILD_DATE => "2014-03-22",
}; };
1; 1;

View File

@ -16,7 +16,7 @@ my $USE_LOCAL = defined $ENV{'CC_LOCAL'};
my $output = ""; my $output = "";
my $nooutput = 'No output.'; my $nooutput = 'No output.';
if($#ARGV < 1) { if($#ARGV < 0) {
print "Usage: expand <code>\n"; print "Usage: expand <code>\n";
exit 0; exit 0;
} }