]> granicus.if.org Git - zfs/commitdiff
Fix missing option '-e' in zpool online usage
authorLow-power <msl0000023508@gmail.com>
Tue, 26 Jun 2018 17:17:55 +0000 (01:17 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 Jun 2018 17:17:55 +0000 (10:17 -0700)
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: WHR <msl0000023508@gmail.com>
Closes #7655

cmd/zpool/zpool_main.c

index 5aca0d32594a398db81faeec115d44f6bd55c7b6..ab652a7ce44b2dcce930fe03af1c8190d5cc4959 100644 (file)
@@ -345,7 +345,7 @@ get_usage(zpool_help_t idx)
        case HELP_OFFLINE:
                return (gettext("\toffline [-f] [-t] <pool> <device> ...\n"));
        case HELP_ONLINE:
-               return (gettext("\tonline <pool> <device> ...\n"));
+               return (gettext("\tonline [-e] <pool> <device> ...\n"));
        case HELP_REPLACE:
                return (gettext("\treplace [-f] [-o property=value] "
                    "<pool> <device> [new-device]\n"));