Fix missing option '-e' in zpool online usage

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: WHR <msl0000023508@gmail.com>
Closes #7655
This commit is contained in:
Low-power 2018-06-27 01:17:55 +08:00 committed by Brian Behlendorf
parent d2734cce68
commit aebfb84851

View 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"));