Previewing alias substitutions
Use the client-side command option --aliases=dry-run
to
display the command or commands that would have run without actually
running them.
For example, if your alias file contains the following:
delete-stream $(branch) = stream -d //stream/$(branch) && obliterate -y //stream/$(branch)...
And you execute the following command:
$ p4 --aliases=dry-run delete-stream test1
The command would return:
p4 stream -d //stream/test1 p4 obliterate -y //stream/test1