diff options
author | loli10K <[email protected]> | 2019-05-24 18:40:46 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-05-24 09:40:46 -0700 |
commit | e55db32ad08759bd2feff2812b39ecb0a306f520 (patch) | |
tree | cb23928a03d5bf27592c50e13d61a8ee8d76e1a0 /cmd | |
parent | 75c09c5060b85a144cc794ae857520662dc8fd58 (diff) |
zpool: trim -p is not a valid option
This commit removes the documented but not handled "-p" option from
zpool(8) help message.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Chris Dunlop <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #8781
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zpool/zpool_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 1dac4b167..f490675cd 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -30,6 +30,7 @@ * Copyright (c) 2017 Datto Inc. * Copyright (c) 2017 Open-E, Inc. All Rights Reserved. * Copyright (c) 2017, Intel Corporation. + * Copyright (c) 2019, loli10K <[email protected]> */ #include <assert.h> @@ -384,7 +385,7 @@ get_usage(zpool_help_t idx) case HELP_RESILVER: return (gettext("\tresilver <pool> ...\n")); case HELP_TRIM: - return (gettext("\ttrim [-dp] [-r <rate>] [-c | -s] <pool> " + return (gettext("\ttrim [-d] [-r <rate>] [-c | -s] <pool> " "[<device> ...]\n")); case HELP_STATUS: return (gettext("\tstatus [-c [script1,script2,...]] " |