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:
parent
b509875bc1
commit
51d8f862d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user