From b2c2fc668b7a6da4fce30e5c0af12ba949464db1 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Sun, 15 Mar 2020 16:11:27 +0000 Subject: [PATCH] Added descriptions to doc_scripts.py and gallery.py. --- scripts/doc_scripts.py | 2 +- scripts/gallery.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/doc_scripts.py b/scripts/doc_scripts.py index e0aca8c..b6adfc4 100755 --- a/scripts/doc_scripts.py +++ b/scripts/doc_scripts.py @@ -75,5 +75,5 @@ They should work with both Python 2 and Python 3. if __name__ == '__main__': - argparse.ArgumentParser().parse_args() + argparse.ArgumentParser(description='Generate scripts/readme.md and make html versions of that and doc/usage.md').parse_args() doc_scripts() diff --git a/scripts/gallery.py b/scripts/gallery.py index c71406b..18a3253 100755 --- a/scripts/gallery.py +++ b/scripts/gallery.py @@ -78,7 +78,7 @@ def gallery(force): if __name__ == '__main__': init() - parser = argparse.ArgumentParser() + parser = argparse.ArgumentParser(description='Creates a galley of projects by copying the top level image and description to gallery/readme.md.') parser.add_argument("-f", help = "run make_all in each project to force update", action="store_true") args = parser.parse_args()