Display list of defined labels.
p4 [g-opts] labels [-t] [-u user | --me] [[-e|-E] filter] [-m max] [file[revrange]]
p4 [g-opts] labels [-t] [-u user | --me] [[-e|-E] filter] [-m max] [-a | -s serverID]
p4 [g-opts] labels -U
p4 labels
lists all the labels known to the
Perforce
service in the form:
Label labelnamedatedescription
Use the -t
option to display the time of the last update to
the label.
Label labelnamedatetimedescription
To see a list of loaded static labels that tag specific files, specify a
file pattern, with an optional revision range. (Because automatic labels
refer to all files in the label view at a specified revision range,
automatic labels are not shown when you use p4 labels
with a file pattern.)
Use the -m max
option to limit the output to the
first max
labels.
Use the -e
or -E filter
options to
limit the output to labels whose name matches the
filter
pattern. The -e
option is
case-sensitive, and -E
is case-insensitive.
Use the -u user
option to limit the output to labels
owned by the named user.
|
List all labels, not just labels bound to this server. This option may not be used with a file specification. |
|
List only labels matching |
|
List only labels matching |
|
List only the first |
|
List only those labels bound to the specified
|
|
Display the time as well as the date of the last update to the label. |
|
List only labels owned by |
|
Equivalent to |
|
List labels in the unload depot. For details, see |
|
See Global Options. |
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
p4 files
@labelname
.-a
or
-s serverID
options.
To list all labels in the system |
|
To list all labels that contain any revision of
|
|
To list only labels containing revisions |
|