Fixed problem specifying "renetboot node" with no flags (it dispalyed usage) - Line #29

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-05-29 13:38:49 +00:00
parent b509875bc1
commit 51d8f862d3

View File

@ -27,7 +27,8 @@ sub parse_args {
# Process command-line arguments
#############################################
if ( !defined( $args )) {
return( usage() );
$request->{method} = $cmd;
return( \%opt );
}
#############################################
# Checks case in GetOptions, allows opts