aboutsummaryrefslogtreecommitdiff
path: root/lib/geom
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2019-04-03 23:50:52 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2019-04-03 23:50:52 +0000
commitb4f850c0064cb796b77e3eed5aed43412b99c034 (patch)
treea673f376ad3f6aea2e65e9cdcf3db26040bea43f /lib/geom
parent406a584d7e80c2617dc035ede0d922215a12141c (diff)
downloadsrc-b4f850c0064cb796b77e3eed5aed43412b99c034.tar.gz
src-b4f850c0064cb796b77e3eed5aed43412b99c034.zip
- Add missing -T (notrim) option to the label subcommand.
- Add missing -T option in the onetime subcommand comment. Obtained from: Fudo Security
Notes
Notes: svn path=/head/; revision=345861
Diffstat (limited to 'lib/geom')
-rw-r--r--lib/geom/eli/geom_eli.c3
1 files changed, 2 insertions, 1 deletions
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
},