From bc5d5cbd837df4b7bd3e5a1cfa21637ce28aaf64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 30 Jul 2015 11:35:25 -0700 Subject: [PATCH] Also use OptionParser in readmeta to add -h/--help --- fdroidserver/readmeta.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fdroidserver/readmeta.py b/fdroidserver/readmeta.py index 23ca4634..c448ac2f 100644 --- a/fdroidserver/readmeta.py +++ b/fdroidserver/readmeta.py @@ -17,12 +17,15 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from optparse import OptionParser import common import metadata def main(): + parser = OptionParser(usage="Usage: %prog") + parser.parse_args() common.read_config(None) metadata.read_metadata(xref=True)