Flags for the label command.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
[FlagsAttribute]
public enum LabelCmdFlags
Visual Basic
<FlagsAttribute> _
Public Enumeration LabelCmdFlags
Visual C++
[FlagsAttribute]
public enum class LabelCmdFlags

Members

Member nameValueDescription
None0 No flags.
Delete1 The -d flag deletes the named label spec.
Output2 The -o flag writes the label spec to standard output. The user's editor is not invoked.
Input4 The -i flag reads a label specification from the standard input. The user's editor is not invoked.
Force8 The -f flag forces the deletion of a label. By default, locked labels can only be deleted by their owner. The -f flag also permits the Last Modified date to be set. The -f flag requires 'admin' access, which is granted by 'p4 protect'.
Global16 The -g flag should be used on an Edge Server to update a global label. Without -g, the label definition is visible only to users of this Edge Server. Configuring rpl.labels.global=1 reverses this default and causes this flag to have the opposite meaning.

See Also