mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Also use OptionParser in readmeta to add -h/--help
This commit is contained in:
parent
b4d768b225
commit
bc5d5cbd83
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue