Skip to content

Commit c1fc7b9

Browse files
committed
Improve deprecated warning message
1 parent 4989d9d commit c1fc7b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void warnAboutIgnoredDeprecatedOptions() {
160160
+ DEPRECATED_INCLUDE_METADATA_OPTION
161161
+ " option is deprecated and no longer has any effect. "
162162
+ "Use the 'scalar.db.consensus_commit.include_metadata.enabled' configuration property "
163-
+ "in your ScalarDB properties file to control whether transaction metadata is included in full scans.|@");
163+
+ "in your ScalarDB properties file to control whether transaction metadata is included in read operations.|@");
164164

165165
logger.warn(warning);
166166
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class ExportCommandOptions {
7979
@CommandLine.Option(
8080
names = {"--include-metadata", "-m"},
8181
description =
82-
"Deprecated: This option is no longer used. Please use scalar.db.consensus_commit.include_metadata.enabled to control whether transaction metadata is included in full scans.",
82+
"Deprecated: This option is no longer used. Please use scalar.db.consensus_commit.include_metadata.enabled to control whether transaction metadata is included in read operations.",
8383
defaultValue = "false",
8484
hidden = true)
8585
protected boolean includeTransactionMetadata;

0 commit comments

Comments
 (0)