]> granicus.if.org Git - zfs/commitdiff
Redacted Send/Receive broke zfs(8) help message
authorloli10K <loli10K@users.noreply.github.com>
Fri, 21 Jun 2019 16:38:15 +0000 (18:38 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 21 Jun 2019 16:38:15 +0000 (09:38 -0700)
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 <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8942

cmd/zfs/zfs_main.c

index 9f34cc2f84a7b02c1f1e653ee7ce52c7cd511f0a..9357bd2f38aa54ee714189937d3db8f72cd5078d 100644 (file)
@@ -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: