From b4f850c0064cb796b77e3eed5aed43412b99c034 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 3 Apr 2019 23:50:52 +0000 Subject: - Add missing -T (notrim) option to the label subcommand. - Add missing -T option in the onetime subcommand comment. Obtained from: Fudo Security --- lib/geom/eli/geom_eli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/geom') diff --git a/lib/geom/eli/geom_eli.c b/lib/geom/eli/geom_eli.c index 8533fb55627b..2da4b56c2ed0 100644 --- a/lib/geom/eli/geom_eli.c +++ b/lib/geom/eli/geom_eli.c @@ -96,7 +96,7 @@ static int eli_backup_create(struct gctl_req *req, const char *prov, * attach [-Cdprv] [-n keyno] [-j passfile] [-k keyfile] prov ... * detach [-fl] prov ... * stop - alias for 'detach' - * onetime [-d] [-a aalgo] [-e ealgo] [-l keylen] prov + * onetime [-dT] [-a aalgo] [-e ealgo] [-l keylen] prov * configure [-bBgGtT] prov ... * setkey [-pPv] [-n keyno] [-j passfile] [-J newpassfile] [-k keyfile] [-K newkeyfile] prov * delkey [-afv] [-n keyno] prov @@ -145,6 +145,7 @@ struct g_command class_commands[] = { { 'l', "keylen", "0", G_TYPE_NUMBER }, { 'P', "nonewpassphrase", NULL, G_TYPE_BOOL }, { 's', "sectorsize", "0", G_TYPE_NUMBER }, + { 'T', "notrim", NULL, G_TYPE_BOOL }, { 'V', "mdversion", "-1", G_TYPE_NUMBER }, G_OPT_SENTINEL }, -- cgit v1.2.3