You can show associated objects, change requests for the
specified tasks, tasks fixed by specified tasks, and tasks that fix
specified tasks. The query selection displays the associated objects.
About this task
ccm task -s|-sh|-show ((obj|objs|objects) |
(cr|change_request|change_requests|prob|problem|problems) |
(fix|fixes) | fixed_by)
[-f|-format format] [-nf|-noformat [-ch|-column_header] |
[-nch|-nocolumn_header]) [-sep|-separator separator]
([-sby|-sortby sortspec] | [-ns|-nosort|-no_sort])
[-gby|-groupby groupformat] [-u|-unnumbered] task_spec...
- -ch|-column_header
- Specifies to use a column header in the output format. See -ch|-column_headers for details.
- -f|-format format
- Specifies the command output format. See -f|-format for details.
A
keyword can be built in (%fullname, %displayname, %objectname)
or the name of any existing attribute such as %modify_time or %status.
See Built-In keywords for a list of keywords.
- -gby|-groupby groupformat
- Specifies how to group the command output. See -gby|-groupby for details.
- -nch|-nocolumn_header
- Specifies not to use a column header in the output format. See -nch|-nocolumn_headers for details.
- -nf|-noformat
- Specifies not to use column alignment. See -nf|-noformat for details.
- -ns|-nosort|-no_sort
- Specifies not to sort the command output. See -ns|-nosort for details.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -sep|-separator separator
- Used only with the -f|-format option. Specifies
a different separator character. See -sep|-separator for details.
- task_spec...
- Specifies the tasks whose properties you want to view. See Task specification for details.
- -u|-unnumbered
- Suppresses automatic numbering of the output (that is, the output
is not numbered). See -u|-unnumbered for details.
Example
- Show the change
requests associated with task 68.
ccm task -show change_request 68
1) Change request 5
2) Change
request 6
- Show the objects associated with tasks 4 and 5.
ccm task -show objects 4,5
1) MAIN.C-2:csrc:1 integrate ann
2) MAIN.H-4:incl:1 integrate ann
3) UTIL.C-7:csrc:1
integrate ann
4) MSGS.H-9:incl:1 integrate ann