CLI Reference > Configuration Management Commands > si acceptcp
si acceptcp
accepts change package
si acceptcp [--comments=value] [--commentsFile=value] [--reviewer=[user|group:<Group-Name>|super|all]] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-Ffile|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] issue|issue:change package id...
si acceptcp casts an accept vote on a change package under review and in the submitted state.
After a change package is submitted, each individual reviewer and one member of each reviewer group (if specified) in the reviewer list must accept the change package before it can be committed to the repository and then closed. For example:
si acceptcp --reviewer=user 3433:1
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
specifies comments recorded in the review log with the vote.
specifies a text file that contains the comments to be recorded in the review log with the vote.
specifies the capacity in which you are casting an accept vote.
casts a vote as an individual reviewer in the reviewer list.
casts a vote on behalf of the entire group (only one user from a group is necessary to vote on behalf of the entire group).
an overriding accept vote that is sufficient for accepting the change package even if there are additional reviewers. A super reviewer is not required to be a listed reviewer for the change package.
casts a vote as a specific user and any group to which the reviewer belongs.
issue:change package id...
issue identifies a specific issue that contains all submitted change packages that you want to cast accept votes for; use spaces to specify more than one issue.
issue:change package id identifies a specific change package to cast an accept vote for; use spaces to specify more than one change package.
See the diagnostics reference page for possible exit status values.
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si add, si ci, si co, si cpissues , si createcp, si drop, si lock, si viewcps, si rejectcp, si opencp, si discardcp
Miscellaneous: ACL, diagnostics, options, preferences