lslabel
Displays a list of labels for a mainline branch, including label description, scope, owner, and files applied to. You can limit results to labels that contain specific files or versions, are owned by specific users, or are only available to specific branches.
sscm lslabel [LabelName] [-bBranch|-b+] [-pRepository] [-g|-g-] [-i] [-oUsername] [-fFilename] [-v[Version|Version+|Version-|Version:Version]] [-w|-w+] [-x] [-d] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
LabelName | Label name to search for. Use quotes in Unix if LabelName includes wildcard characters. |
-b | Branch that contains labels. If not specified, default working directory branch is used. Enter -b+ to display labels for all branches. |
-d | Display detailed label information. |
-f | Display only labels that contain the specified filename. |
-g | Display only labels available to all branches. Enter -g- to display labels only available in the specified branch. |
-h | Display online help for the command. |
-i | Display hidden labels. |
-o | Display only labels owned by the specified user. |
-p | Mainline branch name or full path to the repository, including parent repositories. If not specified, default working directory repository is used. |
-v | Display only labels that contain files with the specified version or version range. -vVersion: Search only for files with the specified version -vVersion+: Search for versions newer than the specified version -vVersion-: Search for versions older than the specified version -vVersion:Version: Search versions between the two specified versions |
-w | Display only labels that contain files in the specified branch and repository. Enter -w+ to search recursively. |
-x | Interpret filename specified in -f as a regular expression. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |