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:
parent
b4d768b225
commit
bc5d5cbd83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user