[pkg-eucalyptus-commits] [euca2ools] 19/41: Add metric granularity example in help output

Charles Plessy plessy at alioth.debian.org
Sat Oct 12 03:24:16 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 7434d24afe593164676edfb1f901cd4df3e288b1
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Aug 20 15:22:36 2013 -0700

    Add metric granularity example in help output
    
    Fixes TOOLS-375
---
 euca2ools/commands/autoscaling/enablemetricscollection.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/euca2ools/commands/autoscaling/enablemetricscollection.py b/euca2ools/commands/autoscaling/enablemetricscollection.py
index 91cbb64..9560233 100644
--- a/euca2ools/commands/autoscaling/enablemetricscollection.py
+++ b/euca2ools/commands/autoscaling/enablemetricscollection.py
@@ -33,7 +33,8 @@ class EnableMetricsCollection(AutoScalingRequest):
     ARGS = [Arg('AutoScalingGroupName', metavar='ASGROUP',
                 help='name of the auto-scaling group to update (required)'),
             Arg('-g', '--granularity', dest='Granularity', required=True,
-                help='granularity at which to collect metrics (required)'),
+                help='''granularity at which to collect metrics (e.g.,
+                '1Minute') (required)'''),
             Arg('-m', '--metrics', dest='Metrics.member',
                 metavar='METRIC1,METRIC2,...', type=delimited_list(','),
                 help='list of metrics to collect (default: all metrics)')]

-- 
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