CLI Reference > Configuration Management Commands > si viewlabels
 
si viewlabels
displays a member's labels
Synopsis
si viewlabels [--fields=field1[:width1],field2[:width2]...] [--height=value] [--width=value] [-x value] [-y value] [(-R|--[no|confirm]recurse)] [--[no]failOnAmbiguousProject] [--filter=filteroptions] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)] [--devpath=path] [--projectRevision=rev] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--[no]persist] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] member...
Description
si viewlabels displays a member's labels: one label per line, showing the label and its revision number.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--fields=field1[:width1],field2[:width2]...
allows you to select fields to be printed, specified in the format field1[:width1],field2[:width2].... Specifying the column [:width] (in pixels) for each field is optional - widths are only available with the -g or --gui options. Under the CLI the fields are separated with a space.
The fields available for printing can be one or more of the following:
cpid
displays the associated change package identifier (applies only if change packages are enabled).
label
displays labels.
revision
displays the revision number.
--[no]persist
controls whether this presentation of information should continue to be updated as new information becomes available. --nopersist forces a static "snapshot" of information, while --persist gives real-time updates.
member...
identifies a specific member; use spaces to specify more than one member.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si archiveinfo, si memberinfo, si mods, si print, si revisioninfo, si rlog, si sandboxinfo, si viewhistory, si viewproject, si viewprojecthistory, si viewsandbox
Miscellaneous: ACL, diagnostics, options, preferences