[pkg-eucalyptus-commits] [euca2ools] 06/41: Rename euca-create-volume's --zone arg

Charles Plessy plessy at alioth.debian.org
Sat Oct 12 03:24:10 UTC 2013


This is an automated email from the git hooks/post-receive script.

plessy pushed a commit to branch master
in repository euca2ools.

commit 84efe115332380d680867760b287fa9474f50b99
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Jul 9 15:20:42 2013 -0700

    Rename euca-create-volume's --zone arg
    
    Fixes TOOLS-348
---
 euca2ools/commands/euca/createvolume.py |    6 +++---
 man/euca-create-volume.1                |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/euca2ools/commands/euca/createvolume.py b/euca2ools/commands/euca/createvolume.py
index 102a0f3..6df67a0 100644
--- a/euca2ools/commands/euca/createvolume.py
+++ b/euca2ools/commands/euca/createvolume.py
@@ -30,9 +30,9 @@ from requestbuilder.exceptions import ArgumentError
 
 class CreateVolume(EucalyptusRequest):
     DESCRIPTION = 'Create a new volume'
-    ARGS = [Arg('-z', '--zone', dest='AvailabilityZone', metavar='ZONE',
-                required=True, help='''availability zone in which to create the
-                new volume (required)'''),
+    ARGS = [Arg('-z', '--availability-zone', '--zone', dest='AvailabilityZone',
+                metavar='ZONE', required=True, help='''availability zone in
+                which to create the new volume (required)'''),
             Arg('-s', '--size', dest='Size', type=int, help='''size of the new
                 volume in GiB (required unless --snapshot is used)'''),
             Arg('--snapshot', dest='SnapshotId', metavar='SNAPSHOT',
diff --git a/man/euca-create-volume.1 b/man/euca-create-volume.1
index 6fc0ee5..7e91a41 100644
--- a/man/euca-create-volume.1
+++ b/man/euca-create-volume.1
@@ -1,7 +1,7 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.12.
-.TH EUCA-CREATE-VOLUME "1" "May 2013" "euca2ools 3.0.0" "User Commands"
+.TH EUCA-CREATE-VOLUME "1" "July 2013" "euca2ools 3.0.0" "User Commands"
 .SH NAME
-euca-create-volume \- Display information about regions
+euca-create-volume \- Create a new volume
 .SH SYNOPSIS
 euca\-create\-volume \fB\-z\fR ZONE [\-s SIZE] [\-\-snapshot SNAPSHOT] [\-t VOLTYPE]
 [\-i IOPS] [\-\-show\-empty\-fields]
@@ -11,7 +11,7 @@ euca\-create\-volume \fB\-z\fR ZONE [\-s SIZE] [\-\-snapshot SNAPSHOT] [\-t VOLT
 Create a new volume
 .SS "optional arguments:"
 .TP
-\fB\-z\fR ZONE, \fB\-\-zone\fR ZONE
+\fB\-z\fR ZONE, \fB\-\-availability\-zone\fR ZONE, \fB\-\-zone\fR ZONE
 availability zone in which to create the new volume
 (required)
 .TP

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-eucalyptus/euca2ools.git



More information about the pkg-eucalyptus-commits mailing list