List streams

To display the current stream, issue p4 switch with no options.

$ p4 switch
main

main is the default stream created by the p4 clone command.

Pass the -l option to p4 switch to list all known streams.

$ p4 switch -l
main *

The asterisk indicates the current stream. As we haven’t yet created any other streams, main is the only one listed and is the current stream.