Perforce 2002.1 Command Reference
<< Previous Chapter
p4 label
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 labelsync

p4 labels


Synopsis

Display list of defined labels.

Syntax

p4 [g-opts] labels file[revrange]

Description

p4 labels lists all the labels known to the Perforce server in the form:

To see a list of labels containing specific revisions, specify the revision range.

Options

g_opts

See the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

N/A

N/A

list

Examples

To list all labels in the system

p4 labels

To list all labels that contain any revision of file.c

p4 labels file.c

To list only labels containing revisions #3 through #5 of file.c

p4 labels file.c#3,5

Related Commands

To create or edit a label specification

p4 label

To add, delete, or change the files included in a label

p4 labelsync

To view a list of files included in a label

p4 files @labelname


Perforce 2002.1 Command Reference
<< Previous Chapter
p4 label
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 labelsync
Please send comments and questions about this manual to [email protected].
Copyright 1999-2002 Perforce Software. All rights reserved.
Last updated: 04/03/02