support/scripts: fix graph-build-time help text
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 May 2016 20:59:35 +0000 (22:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 May 2016 21:26:25 +0000 (23:26 +0200)
The graph-build-time help text currently looks like this:

usage: graph-build-time [-h] [--type GRAPH_TYPE] [--order GRAPH_ORDER]
                        [--alternate-colors] [--input OUTPUT] --output OUTPUT

Obviously, naming the parameter for --input as OUTPUT is not a very
good idea, so this commit fixes that to name it "INPUT", as expected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/graph-build-time

index 7eb3e479532698db4400f7a01e352627aa001d63..0ba0f2d3a73946988b248bbaf7052935aa086fb4 100755 (executable)
@@ -276,7 +276,7 @@ parser.add_argument("--order", '-O', metavar="GRAPH_ORDER",
                     help="Ordering of packages: build or duration (for histogram only)")
 parser.add_argument("--alternate-colors", '-c', action="store_true",
                     help="Use alternate colour-scheme")
-parser.add_argument("--input", '-i', metavar="OUTPUT",
+parser.add_argument("--input", '-i', metavar="INPUT",
                     help="Input file (usually $(O)/build/build-time.log)")
 parser.add_argument("--output", '-o', metavar="OUTPUT", required=True,
                     help="Output file (.pdf or .png extension)")