diff options
author | Andreas Jaeger <aj@suse.de> | 2014-02-07 21:41:53 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2014-02-08 06:46:32 +0100 |
commit | 7ae3124259ea595da650caf36aaeb00a886abf40 (patch) | |
tree | d27a6771383e5f517422811f7a98cac2a0279308 /tools | |
parent | 6cadb312b774b40cd05eeb0db0bf40ec18d58da4 (diff) | |
download | ceilometer-7ae3124259ea595da650caf36aaeb00a886abf40.tar.gz |
Improve help strings
Follow oslo.config style guide for help strings better to create
consistent help strings:
* Capitalize first word of each help string
* Finish help strings with "."
* Improve wording
Change-Id: I4723ad672c30146869254695ba82678b082efd91
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make_test_data.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/make_test_data.py b/tools/make_test_data.py index d1fdb6d2..95c37cf7 100755 --- a/tools/make_test_data.py +++ b/tools/make_test_data.py @@ -44,48 +44,48 @@ def main(): '--interval', default=10, type=int, - help='the period between events, in minutes', + help='The period between events, in minutes.', ) parser.add_argument( '--start', default=31, - help='the number of days in the past to start timestamps', + help='The number of days in the past to start timestamps.', ) parser.add_argument( '--end', default=2, - help='the number of days into the future to continue timestamps', + help='The number of days into the future to continue timestamps.', ) parser.add_argument( '--type', choices=('gauge', 'cumulative'), default='gauge', - help='counter type', + help='Counter type.', ) parser.add_argument( '--unit', default=None, - help='counter unit', + help='Counter unit.', ) parser.add_argument( '--project', - help='project id of owner', + help='Project id of owner.', ) parser.add_argument( '--user', - help='user id of owner', + help='User id of owner.', ) parser.add_argument( 'resource', - help='the resource id for the meter data', + help='The resource id for the meter data.', ) parser.add_argument( 'counter', - help='the counter name for the meter data', + help='The counter name for the meter data.', ) parser.add_argument( 'volume', - help='the amount to attach to the meter', + help='The amount to attach to the meter.', type=int, default=1, ) |