|
|
|
@ -301,8 +301,9 @@ object TopicCommand {
@@ -301,8 +301,9 @@ object TopicCommand {
|
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, deleteConfigOpt, allTopicLevelOpts -- Set(alterOpt)) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, partitionsOpt, allTopicLevelOpts -- Set(alterOpt, createOpt)) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, replicationFactorOpt, allTopicLevelOpts -- Set(createOpt)) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, replicaAssignmentOpt, |
|
|
|
|
allTopicLevelOpts -- Set(alterOpt, createOpt) + partitionsOpt + replicationFactorOpt) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, replicaAssignmentOpt, allTopicLevelOpts -- Set(createOpt,alterOpt)) |
|
|
|
|
if(options.has(createOpt)) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, replicaAssignmentOpt, Set(partitionsOpt, replicationFactorOpt)) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, reportUnderReplicatedPartitionsOpt, |
|
|
|
|
allTopicLevelOpts -- Set(describeOpt) + reportUnavailablePartitionsOpt + topicsWithOverridesOpt) |
|
|
|
|
CommandLineUtils.checkInvalidArgs(parser, options, reportUnavailablePartitionsOpt, |
|
|
|
|