ClientCmdFlags Enumeration
|
Flags for the client command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum ClientCmdFlags
<FlagsAttribute>
Public Enumeration ClientCmdFlags
[FlagsAttribute]
public enum class ClientCmdFlags
[<FlagsAttribute>]
type ClientCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| Delete | 1 |
The -d flag deletes the specified spec, as long as the client
workspace has no opened files or pending changes. (See 'p4 help
opened'.) The -f flag forces the delete.
|
| Output | 2 |
The -o flag writes the named client spec to the standard output.
The user's editor is not invoked.
|
| Input | 4 |
The -i flag reads a client spec from the standard input. The
user's editor is not invoked.
|
| Force | 8 |
The -f flag can force the updating of locked clients; normally
locked clients can only be modified by their owner. -f also allows
the last modified date to be set. The -f flag requires 'admin'
access granted by 'p4 protect'.
|
| Switch | 16 |
The -s flag is used to switch an existing client spec's view without
invoking the editor. It can be used with -S to switch to a stream
view, or with -t to switch to a view defined in another client spec.
Switching views is not allowed in a client that has opened files.
The -f flag can be used with -s to force switching with opened files.
View switching has no effect on files in a client workspace until
'p4 sync' is run.
|
See Also