From 89c077ae493ad29a4f5939d8dafbb1467a885197 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Tue, 7 Mar 2017 11:35:56 -0700 Subject: [PATCH] Fix up help message in cireporter.py Minor fix to the help message to indicate count (it was just a copy paste of Name). Also added an example to the -p argument to show that the openstack domain is needed when specifying a project. Lastly, either capitilize the first work in the help string or don't, but be consistent. More were LC so I made the rest match. Change-Id: I89e88e51459583c2564b033f7f45223eae77f2c1 --- monitoring/lastcomment-scoreboard/cireporter.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/monitoring/lastcomment-scoreboard/cireporter.py b/monitoring/lastcomment-scoreboard/cireporter.py index be09bf1..9a0f9f8 100755 --- a/monitoring/lastcomment-scoreboard/cireporter.py +++ b/monitoring/lastcomment-scoreboard/cireporter.py @@ -7,7 +7,6 @@ import calendar import datetime import json import yaml -import pdb import requests @@ -193,7 +192,7 @@ def main(): parser.add_argument('-c', '--count', default=10, type=int, - help='unique gerrit name of the reviewer') + help='number of records to evaluate') parser.add_argument('-i', '--input', default=None, help='yaml file containing list of names to search on' @@ -201,13 +200,14 @@ def main(): ' (overwrites -p and -n)') parser.add_argument('-o', '--output', default=None, - help='Write the output to a file. Defaults to stdout.') + help='write the output to a file. Defaults to stdout.') parser.add_argument('-j', '--json', default=False, action="store_true", - help=("Generate report output in json format.")) + help=("generate report output in json format.")) parser.add_argument('-p', '--project', - help='only list hits for a specific project') + help='only list hits for a specific project ' + '(ie: openstack/cinder)') args = parser.parse_args() names = {args.project: [args.name]}