From 105d162cf20b81b5de433a7f6cbd9266ec0eb8c2 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Sat, 7 May 2016 16:45:41 -0400 Subject: [PATCH] Specify more complete wrap-ttl output in help --- meta/meta.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/meta.go b/meta/meta.go index 76cb5e195..c199719eb 100644 --- a/meta/meta.go +++ b/meta/meta.go @@ -201,13 +201,16 @@ func GeneralOptionsUsage() string { not recommended. Verification will also be skipped if VAULT_SKIP_VERIFY is set. - -wrap-ttl Indiciates that the response should be wrapped in a + -wrap-ttl="" Indiciates that the response should be wrapped in a cubbyhole token with the requested TTL. The response will live at "/response" in the cubbyhole of the returned token with a key of "response" and can be parsed as a normal API Secret. The backend can also request wrapping; the lesser of the values is used. - May also be specified via VAULT_WRAP_TTL. + This is a numeric string with an optional suffix of + "s", "m", or "h"; if no suffix is specified it will + be parsed as seconds. May also be specified via + VAULT_WRAP_TTL. ` return general }