Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit 137156a

Browse files
doniksUniversalSuperBox
authored andcommitted
clarify the usage of repo and pr
1 parent af6a9a7 commit 137156a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ubports-qa

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ parser_install = subparsers.add_parser(
229229
parser_install.add_argument(
230230
"repo",
231231
type=str,
232-
help="Name of a PPA on repo.ubports.com. Alternatively, if the 'pr' argument is provided, the name of a git repository can be specified to automatically add the PPA from a pull-request.",
232+
help="Name of a PPA on repo.ubports.com. Note that for certain branches on github, PPAs are automatically created. For example branch names that start with 'xenial_-_' have such automatic PPAs. Example: 'ubports-qa install xenial_-_sessionrestore'. Alternatively, see below how 'repo' is interpreted if the 'pr' argument is used."
233233
)
234234
parser_install.add_argument(
235235
"pr",
236236
type=int,
237-
help="Numeric ID of a pull-request on the git repository specified in the 'repo' argument. If 'repo' is supposed to be the name of a ppa, the 'pr' argument should not be specified.",
237+
help="Numeric ID of a pull-request. When this 'pr' parameter is used, then the 'repo' parameter is interpreted as the name of a github repository. Example: 'ubports-qa calendar-app 123'",
238238
nargs="?",
239239
default=NO_PR,
240240
)

0 commit comments

Comments
 (0)