summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-13 16:35:19 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-13 16:35:19 +0100
commita059055c5241ff69bd3b2f32088d03bf2a0f611e (patch)
tree9ec0d04cacca3d844fbe0bc10731230546140859 /support
parent87d813f69a044982e29cbd948b39d17170fc0de8 (diff)
support/scripts/size-stats: fix copy/paste error in ArgumentParser
A copy/paste error in the ArgumentParser() constructor call disclosed the fact that the author of the script has shamefully based his work on the existing graph-build-time script. This commit fixes this mistake, therefore hiding in a better way how size-stats was vampirized from graph-build-time. Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/size-stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/size-stats b/support/scripts/size-stats
index 54685f630..81d96caa1 100755
--- a/support/scripts/size-stats
+++ b/support/scripts/size-stats
@@ -191,7 +191,7 @@ def gen_packages_csv(pkgsizes, outputf):
for (pkg, size) in pkgsizes.items():
wr.writerow([pkg, size, "%.1f" % (float(size) / total * 100)])
-parser = argparse.ArgumentParser(description='Draw build time graphs')
+parser = argparse.ArgumentParser(description='Draw size statistics graphs')
parser.add_argument("--builddir", '-i', metavar="BUILDDIR", required=True,
help="Buildroot output directory")