Flags for the client command.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
[FlagsAttribute] public enum ClientCmdFlags |
Visual Basic |
---|
<FlagsAttribute> _ Public Enumeration ClientCmdFlags |
Visual C++ |
---|
[FlagsAttribute] public enum class 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. |