From 37480ba9cf6b5ef65323b1443cbb5b69dce4585f Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Wed, 30 Dec 2020 13:36:02 +0100 Subject: Document PASSWORD_STORE_CLIP_TIME env var - also update copyright notice --- pass.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pass.bat b/pass.bat index 634a4da..7a5f771 100644 --- a/pass.bat +++ b/pass.bat @@ -14,11 +14,12 @@ IF NOT DEFINED PASSWORD_STORE_DIR ( echo.PASSWORD_STORE_DIR system variable not defined, defaulting to "%USERPROFILE%\.password-store\" echo.You can change this sysvar anytime in SystemPropertiesAdvanced.exe or via setx. See setx/? for help. set PASSWORD_STORE_DIR="%USERPROFILE%\.password-store" - setx PASSWORD_STORE_DIR "%USERPROFILE%\.password-store" + ::setx PASSWORD_STORE_DIR "%USERPROFILE%\.password-store" ) IF [%~1] EQU [] ( - echo.Copyright ^(c^) 2019, Miquel Lionel + echo.Copyright ^(c^) 2012-2018, Jason A. Donenfeld ^ + echo.Copyright ^(c^) 2019-2020, Miquel Lionel echo. echo.Here's the available parameters for pass. Text between [] is MANDATORY: echo. @@ -34,6 +35,7 @@ IF [%~1] EQU [] ( echo.ENVIRONNEMENT VARIABLES: echo. PASSWORD_STORE_KEY The key^(s^) ID in 0xlong form. Can alternatively be in a .gpg-id file in the password store directory, searches in it by default. echo. PASSWORD_STORE_DIR The directory which contains the password, with .gpg extension. + echo. PASSWORD_STORE_CLIP_TIME The time remaining for which a password copied to the clipboard. ) -- cgit v1.2.3-54-g00ecf