prettier --help output for -m, -mp arguments (!1718)

-m is the Alpine mirror, -mp is the postmarketOS mirror. Use "URL" as
metavar and add help text that explains how to disable the postmarketOS
mirror (so all pmaports get built locally).
This commit is contained in:
Oliver Smith 2018-11-19 08:32:29 +01:00
parent 1c10dbee50
commit 2c6c5a9df9
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 9 additions and 2 deletions

View File

@ -269,8 +269,15 @@ def arguments():
parser.add_argument("-c", "--config", dest="config",
default=pmb.config.defaults["config"])
parser.add_argument("-d", "--port-distccd", dest="port_distccd")
parser.add_argument("-mp", "--mirror-pmOS", dest="mirror_postmarketos")
parser.add_argument("-m", "--mirror-alpine", dest="mirror_alpine")
parser.add_argument("-mp", "--mirror-pmOS", dest="mirror_postmarketos",
help="postmarketOS mirror, disable with: -mp='',"
" default: " +
pmb.config.defaults["mirror_postmarketos"],
metavar="URL")
parser.add_argument("-m", "--mirror-alpine", dest="mirror_alpine",
help="Alpine Linux mirror, default: " +
pmb.config.defaults["mirror_alpine"],
metavar="URL")
parser.add_argument("-j", "--jobs", help="parallel jobs when compiling")
parser.add_argument("-p", "--aports",
help="postmarketos aports (pmaports) path")