diff options
author | loli10K <[email protected]> | 2019-05-24 18:40:46 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-06-07 12:39:13 -0700 |
commit | abe267f6775e2690e825c1020652e90a8779f18b (patch) | |
tree | 49a845e2e4a6d6b18af4e58db3bdb381c6435e7e /cmd | |
parent | cc434dcf451ef9145dd7777ffe2c2a3ae3a276e4 (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,...]] " |