1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Also use OptionParser in readmeta to add -h/--help

This commit is contained in:
Daniel Martí 2015-07-30 11:35:25 -07:00
parent b4d768b225
commit bc5d5cbd83

View File

@ -17,12 +17,15 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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)