Moving the true error after the usage, it obscures the true error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6b6b44b04e
commit
564a5df5cb
@ -74,8 +74,8 @@ if (!($tmp =~ / (--help|-h|-v|--version)/)) {
|
||||
$arg = join(',',@tempnr);
|
||||
$cmdref->{noderange}->[0]=$arg;
|
||||
} else {
|
||||
print "The noderange should be the first argument.\n";
|
||||
&updatenode_usage();
|
||||
print "The noderange should be the first argument.\n";
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user