Syntax conventions
Helix Core documentation uses the following conventions for command-line syntax.
Notation | Meaning |
Example of Syntax and Command |
---|---|---|
|
Must be used in the command exactly as shown. |
p4 revert -So
|
italics |
A parameter for which you must supply specific information. |
p4 user -d username
|
|
Both elements are required. |
p4 renameuser --from=old --to=new
|
|
Any combination of the enclosed elements is allowed and none of the elements are required. Omit the brackets when you compose the command. |
p4 delete [-n -k -v] file ...
|
|
Exactly one of the enclosed elements is allowed and none of the elements are required. Omit the brackets when you compose the command. |
p4 group [-a | -A] groupname
|
|
Exactly one of the enclosed elements is required. Omit the curly braces when you compose the command. |
p4 bgtask {-e command | -t triggerName}
|
... |
Previous argument can be repeated. ... has a different meaning for directories. See Wildcards. |
p4 [g-opts] streamlog [ -l -L -t -m max ] stream1 ...
|
Some commands can include *
wildcards to form a search pattern. If wildcards are used, enclose the search pattern in double quotes ("
), such as p4 clients -u "O*hara"