summaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-03-24 21:07:07 +0100
committerBrian Behlendorf <[email protected]>2022-04-25 12:46:22 -0700
commit6625262c7099feaf741ff435dd91a574331635a7 (patch)
tree3644340f83b09b0048b90d66f725a044469e9a6e /man/man8
parent7eba3891e9d0c211a1650ecfdfc78c654be055f8 (diff)
man: zfs-send.8: fix -X synopses and description
Also clean up the horrendously verbose -X handling in zfs_main() Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13352
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/zfs-send.831
1 files changed, 12 insertions, 19 deletions
diff --git a/man/man8/zfs-send.8 b/man/man8/zfs-send.8
index 17e7294e9..70367f19d 100644
--- a/man/man8/zfs-send.8
+++ b/man/man8/zfs-send.8
@@ -39,8 +39,8 @@
.Sh SYNOPSIS
.Nm zfs
.Cm send
-.Op Fl DLPRbcehnpsvw
-.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
+.Op Fl DLPbcehnpsvw
+.Op Fl R Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Nm zfs
@@ -73,8 +73,8 @@
.It Xo
.Nm zfs
.Cm send
-.Op Fl DLPRbcehnpvw
-.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
+.Op Fl DLPbcehnpsvw
+.Op Fl R Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Xc
@@ -143,22 +143,15 @@ flag is used to send encrypted datasets, then
.Fl w
must also be specified.
.It Fl X , -exclude Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
-When the
-.Fl R
-flag is given,
-.Fl X
-can be used to specify a list of datasets to be excluded from the
-data stream.
-The
+With
+.Fl R ,
.Fl X
-option can be used multiple times, or the list of datasets can be
-specified as a comma-separated list, or both.
-.Ar dataset
-must not be the pool's root dataset, and all descendant datasets of
-.Ar dataset
-will be excluded from the send stream.
-Requires
-.Fl R .
+specifies a set of datasets (and, hence, their descendants),
+to be excluded from the send stream.
+The root dataset may not be excluded.
+.Fl X Ar a Fl X Ar b
+is equivalent to
+.Fl X Ar a , Ns Ar b .
.It Fl e , -embed
Generate a more compact stream by using
.Sy WRITE_EMBEDDED