Add check for # of args.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-01-22 13:41:44 +00:00
parent 26459260fe
commit 28a604a795

View File

@ -194,6 +194,10 @@ sub processArgs
my $gotattrs = 0;
@ARGV = @{$::args};
if (scalar(@ARGV) <= 0) {
return 2;
}
# parse the options - include any option from all 4 cmds
if (