summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zfs/zfs_main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 150bebd32..2c719fc47 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -4328,6 +4328,16 @@ zfs_do_send(int argc, char **argv)
}
}
+ if (flags.dedup) {
+ (void) fprintf(stderr,
+ gettext("WARNING: deduplicated send is "
+ "deprecated, and will be removed in a\n"
+ "future release. (In the future, the flag will be "
+ "accepted, but a\n"
+ "regular, non-deduplicated stream will be "
+ "generated.)\n\n"));
+ }
+
if (flags.parsable && flags.verbosity == 0)
flags.verbosity = 1;