2083 |
@smallexample |
@smallexample |
2084 |
pr-edit [ -l @var{username} | --lock=@var{username} ] [ -u | --unlockdb ] |
pr-edit [ -l @var{username} | --lock=@var{username} ] [ -u | --unlockdb ] |
2085 |
[ -L | --lockdb ] [ -U | --unlockdb ] [ -c | --check ] |
[ -L | --lockdb ] [ -U | --unlockdb ] [ -c | --check ] |
2086 |
[ -C | --check-initial ] [ -s | --submit ] |
[ -C | --check-initial ] [ -s | --submit [ --show-prnum ] ] |
2087 |
[ -a @var{field} | --append field=@var{field} ] |
[ -a @var{field} | --append field=@var{field} ] |
2088 |
[ -r @var{field} | --replace=@var{field} ] [ --delete-pr ] |
[ -r @var{field} | --replace=@var{field} ] [ --delete-pr ] |
2089 |
[ -R @var{reason} | --reason=@var{reason} ] |
[ -R @var{reason} | --reason=@var{reason} ] |
2147 |
@itemx --submit |
@itemx --submit |
2148 |
Used to submit a new PR to the database. The PR is read in and verified |
Used to submit a new PR to the database. The PR is read in and verified |
2149 |
for content; if the PR is valid as an initial PR, it is then added to |
for content; if the PR is valid as an initial PR, it is then added to |
2150 |
the database. A zero exit code is returned if the submission was |
the database. If the submission is successful a zero exit code is |
2151 |
successful. Otherwise, the reason(s) for the PR being rejected are |
returned. Otherwise, the reason(s) for the PR being rejected are |
2152 |
printed to stdout, and a non-zero exit code is returned. |
printed, and a non-zero exit code is returned. |
2153 |
|
|
2154 |
|
@item --show-prnum |
2155 |
|
This option is used with the @code{--submit} option to display the PR |
2156 |
|
number associated with the submitted PR. |
2157 |
@end table |
@end table |
2158 |
|
|
2159 |
@noindent The following options require a PR number to be given. |
@noindent The following options require a PR number to be given. |