Click or drag to resize

ClientCmdFlags Enumeration

Flags for the client command.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
[FlagsAttribute]
public enum ClientCmdFlags
Members
  Member nameValueDescription
None0 No flags.
Delete1 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.
Output2 The -o flag writes the named client spec to the standard output. The user's editor is not invoked.
Input4 The -i flag reads a client spec from the standard input. The user's editor is not invoked.
Force8 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'.
Switch16 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