From 5a37b7a7fe2acde32556d8968161763ff1b33dc3 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 1 Nov 2011 03:18:46 +0000 Subject: [PATCH] fixed bug 3428290 in sf.net, in DFM, if no hfi or net, output the error with usage git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPbootseq.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPbootseq.pm b/perl-xCAT/xCAT/FSPbootseq.pm index 7b2346508..a1d5a5621 100644 --- a/perl-xCAT/xCAT/FSPbootseq.pm +++ b/perl-xCAT/xCAT/FSPbootseq.pm @@ -34,9 +34,9 @@ sub parse_args { # Process command-line arguments ############################################# if ( !defined( $args )) { - $request->{method} = $cmd; - return( \%opt ); + return(usage( "Missing command with rbootseq in DFM, net or hfi ?" )); } + ############################################# # Checks case in GetOptions, allows opts # to be grouped (e.g. -vx), and terminates