summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-06-21 18:38:15 +0200
committerBrian Behlendorf <[email protected]>2019-06-21 09:38:15 -0700
commit3976fd65d367a4a40c075f64763f79e6496ed917 (patch)
treed48c46a0ed4aa7b74835dd161773e5d1a4c70724
parent9585497208266a917513754f887d9db35efdcec7 (diff)
Redacted Send/Receive broke zfs(8) help message
Since 30af21b0 was merged 'zfs send' help message format is broken and lists "-r" as a valid option: this commit corrects these small issues. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Paul Dagnelie <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #8942
-rw-r--r--cmd/zfs/zfs_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 9f34cc2f8..9357bd2f3 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -306,8 +306,7 @@ get_usage(zfs_help_t idx)
"<snapshot>\n"
"\tsend [-nvPLecw] [-i snapshot|bookmark] "
"<filesystem|volume|snapshot>\n"
- "[-i bookmark] <snapshot> <bookmark_name>\n"
- "\tsend [-DnPpvLecr] [-i bookmark|snapshot] "
+ "\tsend [-DnPpvLec] [-i bookmark|snapshot] "
"--redact <bookmark> <snapshot>\n"
"\tsend [-nvPe] -t <receive_resume_token>\n"));
case HELP_SET: