Skip to content

Commit 815e2d4

Browse files
committed
update default value and comments
1 parent ccbd39f commit 815e2d4

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataexport/ExportCommandOptions.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class ExportCommandOptions {
9494
protected Integer maxThreads;
9595

9696
/**
97-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
97+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --max-threads instead
9898
*/
9999
@Deprecated
100100
@CommandLine.Option(
@@ -118,7 +118,10 @@ public class ExportCommandOptions {
118118
// TODO: test that -si false, works
119119
protected boolean scanStartInclusive;
120120

121-
// Deprecated option - kept for backward compatibility
121+
/**
122+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --start-inclusive
123+
* instead (inverted logic).
124+
*/
122125
@CommandLine.Option(
123126
names = {DEPRECATED_START_EXCLUSIVE_OPTION},
124127
description = "Deprecated: Use --start-inclusive instead (inverted logic)",
@@ -139,7 +142,10 @@ public class ExportCommandOptions {
139142
defaultValue = "true")
140143
protected boolean scanEndInclusive;
141144

142-
// Deprecated option - kept for backward compatibility
145+
/**
146+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --end-inclusive instead
147+
* (inverted logic).
148+
*/
143149
@CommandLine.Option(
144150
names = {DEPRECATED_END_EXCLUSIVE_OPTION},
145151
description = "Deprecated: Use --end-inclusive instead (inverted logic)",

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataimport/ImportCommandOptions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ImportCommandOptions {
4646
protected Integer maxThreads;
4747

4848
/**
49-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --max-threads instead
49+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --max-threads instead
5050
*/
5151
@Deprecated
5252
@CommandLine.Option(
@@ -75,7 +75,7 @@ public class ImportCommandOptions {
7575
protected String controlFilePath;
7676

7777
/**
78-
* @deprecated As of release 3.6.2. Will be removed in release 4.0.0. Use --enable-log-success
78+
* @deprecated As of release 3.17.0. Will be removed in release 4.0.0. Use --enable-log-success
7979
* instead
8080
*/
8181
@Deprecated
@@ -125,8 +125,8 @@ public class ImportCommandOptions {
125125

126126
@CommandLine.Option(
127127
names = {"--log-raw-record", "-lr"},
128-
description = "Include the original source record in the log file output (default: false)",
129-
defaultValue = "false")
128+
description = "Include the original source record in the log file output (default: true)",
129+
defaultValue = "true")
130130
protected boolean logRawRecord;
131131

132132
@CommandLine.Option(

0 commit comments

Comments
 (0)