edit-pr
driver
pr-edit
does the background work for edit-pr
, including
error-checking and refiling newly edited Problem Reports and handling
file locks. It can be called interactively, though it has no useable
editing interface.
The usage for pr-edit
is:
pr-edit [ -l maintainer --lock=maintainer ] [ -u | --unlock ] [ -c | --check ] [ -F ] [ -f filename | --filename=filename ] [ -d directory | --directory=directory ] [ -h | --help ] [ -V | --version ] [ gnats-id ]
A lock is placed on a Problem Report while the PR is being edited.
The lock is simply a file in the same directory as the PR, with the name
`gnats-id.lock', which contains the name of the maintainer
who created the lock. maintainer then "owns" the lock, and must
remove it before the PR can be locked again, even by the same
maintainer(4). If a PR is already locked
when you attempt to edit it, pr-edit
prints an error message
giving the name of the maintainer who is currently editing the PR.
If you do not specify gnats-id, pr-edit
reads from
standard input. You must specify gnats-id for the functions
which affect PR locks, `--lock=maintainer' and
`--unlock'.
-l maintainer
--lock=maintainer
pr-edit
requires that you specify
gnats-id when using this option.
-u
--unlock
pr-edit
requires that
you specify gnats-id when using this option. You must own a
file lock to remove it.
-c
--check
pr-edit
complains about any bogus
information in the Problem Report.
-F
-f filename
--filename=filename
-d directory
--directory=directory
GNATS_ROOT
).
-h
--help
pr-edit
.
-V
--version
pr-edit
.
Go to the first, previous, next, last section, table of contents.