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:
parent
df3fa02766
commit
f1e93612b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user