Fix wcons to require noderange

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-08 22:07:09 +00:00
parent df3fa02766
commit f1e93612b3

View File

@ -17,6 +17,10 @@ GetOptions(
'tile|t:i' => \$tilefact,
#'font|f=s' => \$font
);
unless ($ARGV[$#ARGV]) {
print "Usage: wcons <options> <noderange>\n";
exit 1;
}
my $nodes=`nodels $ARGV[$#ARGV]`;
my $conservers=`nodels $ARGV[$#ARGV] nodehm.conserver`;
pop @ARGV;