From 8ab1e35be096675cd7f486e408d8d44765248708 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 10 Jan 2011 09:26:46 +0000 Subject: [PATCH] fsp/bpa redundancy: change lsdef -H flag to -S to match the flag used by nodels. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 81cb792da..f1048e9c5 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -241,7 +241,7 @@ sub processArgs 'x|xml' => \$::opt_x, 'z|stanza' => \$::opt_z, 'nocache' => \$::opt_c, - 'H' => \$::opt_H, + 'S' => \$::opt_S, ) ) { @@ -2905,7 +2905,7 @@ sub defls #delete the fsp and bpa node from the hash my $newrsp; my $listtab = xCAT::Table->new( 'nodelist' ); - if ($listtab and (!defined($::opt_H)) ) { + if ($listtab and (!defined($::opt_S)) ) { foreach my $n (@{$rsp_info->{data}}) { if ( $n =~ /node/ ) { $_= $n; @@ -3360,7 +3360,7 @@ sub defls_usage $rsp->{data}->[2] = " lsdef [-V | --verbose] [-t object-types] [-o object-names]"; $rsp->{data}->[3] = - " [ -l | --long] [-s | --short] [-a | --all] [-z | --stanza ] [-H]"; + " [ -l | --long] [-s | --short] [-a | --all] [-z | --stanza ] [-S]"; $rsp->{data}->[4] = " [-i attr-list] [-w attr==val [-w attr=~val] ...] [noderange]\n"; $rsp->{data}->[5] =