Previous Table of Contents Index Next
Perforce 2009.1: Command Reference



p4 labels
Synopsis
Display list of defined labels.
Syntax
p4 [g-opts] labels [-t] [-u user] [-e namefilter -m max] [file[revrange]]
Description
p4 labels lists all the labels known to the Perforce server in the form:
Label labelname date description
Use the -t option to display the time of the last update to the label.
Label labelname date time description
To see a list of 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 namefilter option to limit the output to labels whose name matches the namefilter pattern.
Use the -u user option to limit the output to labels owned by the named user.
Options
-u user
-e namefilter
-m max
Usage Notes
Can File Arguments Use
Revision Specifier?
Examples
Related Commands
p4 files @labelname


Previous Table of Contents Index Next

Perforce 2009.1: Command Reference
Copyright 1999-2009 Perforce Software.