pi alias add

Command Help

> pi alias add -h
Usage: pi alias add [-h] [--unique] identifier alias

Description: Add Aliases to IP Versions.

Positional arguments:
  identifier  The IP Version the Alias is added to.
  alias       The name of the alias.

Optional arguments:
  --unique    Add an alias, unique to the entire IP.
  -h, --help  Show this help message and exit

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.

Examples

> pi alias add tutorial.tutorial@3.TRUNK MYALIAS
Successfully added alias 'MYALIAS' on 'tutorial.tutorial@3.TRUNK'.
> pi alias add --unique tutorial.tutorial@5 NEWALIAS
Successfully added alias '+NEWALIAS' on 'tutorial.tutorial@5.TRUNK'.