lscomp
Lists information about a component
Applicability
Product |
Command type |
---|---|
VersionVault |
cleartool subcommand |
VersionVault Remote Client |
rcleartool subcommand |
Platform |
---|
UNIX |
Linux |
Windows |
Synopsis
- lscomp [ –s/hort | –l/ong | –fmt format-string | –tre/e ] [ –obs/olete ]
- [ –inv/ob vob-selector | component-selector ...]
Description
The lscomp command lists information about one or more components.
Restrictions
None.
Options and arguments
Specifying the output
- Default
- A two-line summary.
- –s/hort
- Displays only the name of each component.
- –l/ong
- Displays an expanded multiple-line listing for each component, similar to the describe –long command.
- –fmt format-string
- Displays information using the specified format-string. For details, see the fmt_ccase reference page.
- –tre/e
- Recursively lists baselines and streams in the specified components. The output format is similar to that of the lsvtree command.
Specifying the component
- Default
- All components in the project VOB of the current directory.
- –inv/ob vob-selector
- Displays information for all components in the specified project VOB.
- component-selector ...
- Specifies one or more components for which information is displayed.
Listing obsolete components
- Default
- Lists only nonobsolete components.
- –obs·olete
- Includes obsolete components in the listing. Obsolete components are those that have been processed with lock –obsolete.
Examples
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you might need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you might need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
- Display a description of components in
the specified VOB.
cmd-context lscomp -invob /vobs_projects
2007-09-17T12:06:59 vobs_parser bill
root directory: "/vobs_parser"
2007-03-29T17:23:16 vobs_applets pklenk
root directory: "/vobs_applets"
2007-03-29T17:23:25 vobs_booch pklenk
root directory: "/vobs_booch"
2007-03-29T17L23:37 vobs_libobj pklenk
root directory: "/vobs_libobj"
2007-03-29T17:23:44 vobs_stage pklenk
root directory: "/vobs_stage"
2007-03-29T17:23:50 vobs_sun5_stage pklenk
root directory: "/vobs_sun5_stage"
2007-03-29T17:24:01 vobs_nt_i386_stage pklenk
root directory: "/vobs_nt_i386_stage"
2007-03-29T17:24:57 vobs_sys pklenk
root directory: "/vobs_sys"