LabelCmdFlags Enumeration
|
Flags for the label command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum LabelCmdFlags
<FlagsAttribute>
Public Enumeration LabelCmdFlags
[FlagsAttribute]
public enum class LabelCmdFlags
[<FlagsAttribute>]
type 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.
|
See Also