From f2c8dc1a8de4d46d4044c6b7c648fe2b525d746b Mon Sep 17 00:00:00 2001 From: zhanx Date: Thu, 16 Apr 2009 10:09:49 +0000 Subject: [PATCH] Update chvm man page and usage information, to add 'chvm support specifying attribute-value paires in command line git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Usage.pm | 3 ++- xCAT-client/pods/man1/chvm.1.pod | 14 +++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Usage.pm b/perl-xCAT/xCAT/Usage.pm index 90549db13..78a8fd35d 100644 --- a/perl-xCAT/xCAT/Usage.pm +++ b/perl-xCAT/xCAT/Usage.pm @@ -119,7 +119,8 @@ my %usage = ( lsvm [-a|--all]", "chvm" => "Usage: chvm [-p profile][-V|--verbose] - chvm [-h|--help|-v|--version]", + chvm [-h|--help|-v|--version] + chvm = [=...]", "rmvm" => "Usage: rmvm [-V|--verbose] rmvm [-h|--help|-v|--version]", diff --git a/xCAT-client/pods/man1/chvm.1.pod b/xCAT-client/pods/man1/chvm.1.pod index 8a0cb0523..721d6eb16 100644 --- a/xCAT-client/pods/man1/chvm.1.pod +++ b/xCAT-client/pods/man1/chvm.1.pod @@ -12,9 +12,13 @@ I I +I + + =head1 DESCRIPTION -The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag. +The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag. +This command also supports to change specific partition attributes by specifying one or more "attribute equals value" pairs in command line directly, without whole partition profile. =head1 OPTIONS @@ -23,6 +27,8 @@ B<-h> Display usage message. B<-p profile> Name of an existing partition profile. +B Specifies one or more "attribute equals value" pairs, separated by spaces. + B<-v> Command Version. B<-V> Verbose output. @@ -52,6 +58,12 @@ Output is similar to: lpar4: Success +3. To change partition attributes for lpar4 by specifying attribute value pairs in command line, enter: +I + +Output is similar to: + +lpar4: Success =head1 FILES