[xen-tools-dev] [PATCH] Update indentation for options.
Stéphane Jourdois
sjourdois at gmail.com
Sun Jul 11 15:38:45 CEST 2010
This helps t/getopt.t to pass.
---
bin/xen-list-images | 4 +++-
bin/xen-update-image | 10 ++++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/bin/xen-list-images b/bin/xen-list-images
index 6f2c2b0..a0e62c4 100755
--- a/bin/xen-list-images
+++ b/bin/xen-list-images
@@ -239,7 +239,9 @@ sub parseCommandLineArguments
# Parse options.
#
GetOptions( "test=s", \$CONFIG{ 'prefix' },
- "help", \$HELP, "manual", \$MANUAL, "version", \$VERSION );
+ "help", \$HELP,
+ "manual", \$MANUAL,
+ "version", \$VERSION );
pod2usage(1) if $HELP;
pod2usage( -verbose => 2 ) if $MANUAL;
diff --git a/bin/xen-update-image b/bin/xen-update-image
index b7fa08c..bfb3ccf 100755
--- a/bin/xen-update-image
+++ b/bin/xen-update-image
@@ -452,10 +452,12 @@ sub parseCommandLineArguments
# Parse options.
#
- GetOptions( "dir=s", \$CONFIG{ 'dir' }, "lvm=s", \$CONFIG{ 'lvm' },
- "evms=s", \$CONFIG{ 'evms' }, "help", \$HELP,
- "manual", \$MANUAL, "version", \$VERSION
- );
+ GetOptions( "dir=s", \$CONFIG{ 'dir' },
+ "lvm=s", \$CONFIG{ 'lvm' },
+ "evms=s", \$CONFIG{ 'evms' },
+ "help", \$HELP,
+ "manual", \$MANUAL,
+ "version", \$VERSION );
pod2usage(1) if $HELP;
pod2usage( -verbose => 2 ) if $MANUAL;
--
1.5.6.5
More information about the xen-tools-dev
mailing list