Flags for the label command.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
| C# |
|---|
[FlagsAttribute] public enum LabelCmdFlags |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration LabelCmdFlags |
| Visual C++ |
|---|
[FlagsAttribute] public enum class LabelCmdFlags |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No flags. | |
| Delete | 1 | The -d flag deletes the named label spec. | |
| Output | 2 | The -o flag writes the label spec to standard output. The user's editor is not invoked. | |
| Input | 4 | The -i flag reads a label specification from the standard input. The user's editor is not invoked. | |
| Force | 8 | 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'. | |
| Global | 16 | 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. |