mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-19 14:18:24 -04:00
Also use OptionParser in readmeta to add -h/--help
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user