Comparing projects for two project groupings

You can compare projects in two project groupings.

Before you begin

You must specify -union, -intersection, or -not_in.

About this task

ccm pg|project_grouping -compare -projects
      ([-int|-intersection] | [-not|-not_in] | [-un|-union]) 
      [-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] project_grouping_spec1 project_grouping_spec2
-ch|-column_header
Specifies to use a column header in the output format. See -ch|-column_header for details.
-f|-format format
Specifies the command output format. See -f|-format for details.
-gby|-groupby groupformat
Specifies how to group the command output. See -gby|-groupby for details.
-int|-intersection
Specifies the comparison to show the projects in common between both project groupings.
-nch|-nocolumn_header
Specifies not to use a column header in the output format. See -nch|-nocolumn_header for details.
-nf|-noformat
Specifies not to use column alignment. See -nf|-noformat for details.
-ns|-no_sort
Specifies not to sort the output. See -ns|-nosort for details.
-not|-not_in
Specifies the comparison to show the projects in the first project grouping that are not in the second project grouping.
project_grouping_spec1
Specifies the first project grouping to be compared. For more information, see Project grouping specification.
project_grouping_spec2
Specifies the project grouping to compare to project_grouping_spec1. For more information, see "Project grouping specification."
-sep|-separator separator
Specifies a different separator character. See -sep|-separator for details.
-sby|-sortby sortspec
Specifies how to sort the command output. See -sby|-sortby for details.
-un|-union
Specifies the comparison to show both the projects that are in both project groupings.
-u|-unnumbered
Suppresses automatic numbering of the output (the output is not numbered). See -u|-unnumbered for details.

Example

Show the union of projects in project groupings My 2.0 Collaborative Development projects and My 2.0 Insulated Development projects.

ccm pg -compare -project -union "My 2.0 Collaborative Development projects" "My 2.0 Insulated Development projects"


Feedback