Skip to content

Commit 39fefbf

Browse files
committed
Commented library mutually exclusive settings
1 parent 71dfa29 commit 39fefbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ydb/library/workload/log/log.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ void TLogWorkloadParams::ConfigureOpts(NLastGetopt::TOpts& opts, const ECommandT
440440
"should be passed as well. This option is mutually exclusive with 'timestamp_deviation'")
441441
.Optional().StoreResult(&TimestampDateTo);
442442

443-
opts.MutuallyExclusive("timestamp_deviation", "date-from");
444-
opts.MutuallyExclusive("timestamp_deviation", "date-to");
443+
// opts.MutuallyExclusive("timestamp_deviation", "date-from");
444+
// opts.MutuallyExclusive("timestamp_deviation", "date-to");
445445

446446
opts.AddLongOption("timestamp_subtract", "Value in seconds to subtract from timestamp. For each timestamp, this value in seconds is subtracted")
447447
.DefaultValue(0).StoreResult(&TimestampSubtract);
@@ -480,7 +480,7 @@ void TLogWorkloadParams::Parse(NYdb::NConsoleClient::TClientCommand::TConfig& co
480480
auto date_to_passed = config.ParseResult->Has("date-to");
481481

482482
if (timestamp_dev_passed && (date_from_passed || date_to_passed)) {
483-
throw yexception() << "timestamp_deviation and date_from, date_to are mutually exclusive and shouldn't be passed at once";
483+
throw yexception() << "The `timestamp_deviation` and `date_from`, `date_to` are mutually exclusive and shouldn't be passed at once";
484484
}
485485

486486
if ((date_from_passed && !date_to_passed) || (!date_from_passed && date_to_passed)) {

0 commit comments

Comments
 (0)