label


    label -- Create or edit a label specification and its view

    p4 label [ -f -t template ] name
    p4 label -d [ -f ] name
    p4 label -o [ -t template ] name
    p4 label -i [ -f ]

	Create a new label specification or edit an existing label
	specification.  A name is required.  The specification form
	is put into a temporary file and the editor (given by the
	environment variable $P4EDITOR) is invoked.

	The label specification form contains the following fields:

	Label:       The label name (read only.)

	Owner:       The user who created this label.  Can be changed.

	Update:      The date this specification was last modified.

	Access:      The date of the last 'labelsync' or use of '@label'
		     on this label.

	Description: A short description of the label (optional).

	Options:     Flags to change the label behavior.

		locked   	Allows only the label owner to change its
				specification.  Prevents the label from
				being deleted.  Prohibits p4 labelsync

	View:        A mapping to select files from the depot.
		     The default view selects all depot files.

	A label definition is used only by the p4 labelsync command.
	Only the owner of a label may run labelsync on that label.
	A label that has its Options: set to 'locked' cannot be updated.

	Flag -d causes the named label to be deleted, as long as it is
	not locked.  The -f flag forces the delete.

	The -o flag causes the named label specification to be written
	to the standard output.  The user's editor is not invoked.

	The -i flag causes a label specification to be read from the
	standard input.  The user's editor is not invoked.

	The -t flag constructs the label's view by copying the named
	template label's view, instead of using the existing view or
	creating a new default view.

	The -f flag allows the superuser to delete any label; normally
	locked labels can only be deleted by their owner.  -f also allows
	the last modified date to be set.