mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
expand_macros.pl doesn't require a nick argument any longer, correct ARGV count
This commit is contained in:
parent
8338b009d4
commit
ee3fddf1eb
@ -13,8 +13,8 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 530,
|
||||
BUILD_DATE => "2014-03-18",
|
||||
BUILD_REVISION => 531,
|
||||
BUILD_DATE => "2014-03-22",
|
||||
};
|
||||
|
||||
1;
|
||||
|
@ -16,7 +16,7 @@ my $USE_LOCAL = defined $ENV{'CC_LOCAL'};
|
||||
my $output = "";
|
||||
my $nooutput = 'No output.';
|
||||
|
||||
if($#ARGV < 1) {
|
||||
if($#ARGV < 0) {
|
||||
print "Usage: expand <code>\n";
|
||||
exit 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user