From fa52b3bcadb2c6d8e874916149cbebb4cab22aa4 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 20 Dec 2010 08:10:54 +0000 Subject: [PATCH] Fixed bug chvm does not output messages - ID: 3133987 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPvm.pm | 2 +- perl-xCAT/xCAT/PPCvm.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPvm.pm b/perl-xCAT/xCAT/FSPvm.pm index b23fd9faa..de69aac16 100644 --- a/perl-xCAT/xCAT/FSPvm.pm +++ b/perl-xCAT/xCAT/FSPvm.pm @@ -59,7 +59,7 @@ sub chvm_parse_args { ############################################# if ( !defined( $args )) { $request->{method} = $cmd; - return( \%opt ); + return( usage() ); } ############################################# # Checks case in GetOptions, allows opts diff --git a/perl-xCAT/xCAT/PPCvm.pm b/perl-xCAT/xCAT/PPCvm.pm index 7a7845591..3bcaf5f9f 100644 --- a/perl-xCAT/xCAT/PPCvm.pm +++ b/perl-xCAT/xCAT/PPCvm.pm @@ -58,7 +58,7 @@ sub chvm_parse_args { ############################################# if ( !defined( $args )) { $request->{method} = $cmd; - return( \%opt ); + return( usage() ); } ############################################# # Checks case in GetOptions, allows opts