From e55db32ad08759bd2feff2812b39ecb0a306f520 Mon Sep 17 00:00:00 2001 From: loli10K Date: Fri, 24 May 2019 18:40:46 +0200 Subject: [PATCH] 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 Reviewed-by: Chris Dunlop Reviewed-by: Brian Behlendorf Signed-off-by: loli10K Closes #8781 --- cmd/zpool/zpool_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ #include @@ -384,7 +385,7 @@ get_usage(zpool_help_t idx) case HELP_RESILVER: return (gettext("\tresilver ...\n")); case HELP_TRIM: - return (gettext("\ttrim [-dp] [-r ] [-c | -s] " + return (gettext("\ttrim [-d] [-r ] [-c | -s] " "[ ...]\n")); case HELP_STATUS: return (gettext("\tstatus [-c [script1,script2,...]] " -- 2.40.0