From 51d8f862d3853c83446938369560b7783ebf248c Mon Sep 17 00:00:00 2001 From: sakolish Date: Thu, 29 May 2008 13:38:49 +0000 Subject: [PATCH] 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 --- perl-xCAT-2.0/xCAT/PPCboot.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/xCAT/PPCboot.pm b/perl-xCAT-2.0/xCAT/PPCboot.pm index 16c55dad2..fe986698c 100644 --- a/perl-xCAT-2.0/xCAT/PPCboot.pm +++ b/perl-xCAT-2.0/xCAT/PPCboot.pm @@ -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