mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 18:16:17 +01:00
Replace remaining occurences of optparse.SUPPRESS_HELP with argparse.SUPPRESS
This commit is contained in:
parent
cc7de20598
commit
4c24f50df2
@ -18,7 +18,6 @@ import time
|
||||
import traceback
|
||||
from functools import cmp_to_key
|
||||
from operator import itemgetter
|
||||
from optparse import SUPPRESS_HELP
|
||||
from urllib.parse import urlsplit
|
||||
from urllib.error import HTTPError
|
||||
|
||||
@ -6345,7 +6344,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
@cmdln.option('--disable-cpio-bulk-download', action='store_true',
|
||||
help='disable downloading packages as cpio archive from api')
|
||||
@cmdln.option('--cpio-bulk-download', action='store_false',
|
||||
dest='disable_cpio_bulk_download', help=SUPPRESS_HELP)
|
||||
dest='disable_cpio_bulk_download', help=argparse.SUPPRESS)
|
||||
@cmdln.option('--download-api-only', action='store_true',
|
||||
help='only fetch packages from the api')
|
||||
@cmdln.option('--oldpackages', metavar='DIR',
|
||||
@ -6353,9 +6352,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
@cmdln.option('--verbose-mode', metavar='MODE',
|
||||
help='set verbose mode of the "build" program, arguments can be "all" or "vm"')
|
||||
@cmdln.option('--wipe', action='store_true',
|
||||
help=SUPPRESS_HELP)
|
||||
help=argparse.SUPPRESS)
|
||||
@cmdln.option('--shell', action='store_true',
|
||||
help=SUPPRESS_HELP)
|
||||
help=argparse.SUPPRESS)
|
||||
@cmdln.option('--shell-after-fail', action='store_true',
|
||||
help="run a shell if the build tool fails")
|
||||
@cmdln.option('--shell-cmd', metavar='COMMAND',
|
||||
|
Loading…
Reference in New Issue
Block a user