forked from Mirror/pmbootstrap
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:
parent
1c10dbee50
commit
2c6c5a9df9
1 changed files with 9 additions and 2 deletions
|
@ -269,8 +269,15 @@ def arguments():
|
||||||
parser.add_argument("-c", "--config", dest="config",
|
parser.add_argument("-c", "--config", dest="config",
|
||||||
default=pmb.config.defaults["config"])
|
default=pmb.config.defaults["config"])
|
||||||
parser.add_argument("-d", "--port-distccd", dest="port_distccd")
|
parser.add_argument("-d", "--port-distccd", dest="port_distccd")
|
||||||
parser.add_argument("-mp", "--mirror-pmOS", dest="mirror_postmarketos")
|
parser.add_argument("-mp", "--mirror-pmOS", dest="mirror_postmarketos",
|
||||||
parser.add_argument("-m", "--mirror-alpine", dest="mirror_alpine")
|
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("-j", "--jobs", help="parallel jobs when compiling")
|
||||||
parser.add_argument("-p", "--aports",
|
parser.add_argument("-p", "--aports",
|
||||||
help="postmarketos aports (pmaports) path")
|
help="postmarketos aports (pmaports) path")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue