(opts *delegateOptions)
| 138 | } |
| 139 | |
| 140 | func validateDelegateOptions(opts *delegateOptions) error { |
| 141 | return validateDiffMode(opts.from, opts.to, opts.commit) |
| 142 | } |
| 143 | |
| 144 | // registerReviewFlags registers all review command flags on cmd, binding to opts. |
| 145 | func registerReviewFlags(cmd *cobra.Command, opts *reviewOptions) { |
no test coverage detected