lockbox

password manager
Log | Files | Refs | README | LICENSE

commit f01e8e6635fda1b307e67e90eacd7fff2b22f421
parent 0a2c01636938a29eea60d78e2f9aa50c5ad22007
Author: Sean Enck <sean@ttypty.com>
Date:   Tue, 11 Oct 2022 19:18:06 -0400

cleaning up implementation outputs for doc

Diffstat:
MMakefile | 2+-
Minternal/inputs/env.go | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -25,8 +25,8 @@ clean: $(DOC): $(TARGET) $(DOCTEXT) @cat $(DOCTEXT) > $(DOC) - @echo "[environment variables]" >> $(DOC) @echo >> $(DOC) + @echo "[environment variables]" >> $(DOC) $(TARGET) env -defaults >> $(DOC) $(MAN): $(TARGET) $(DOC) diff --git a/internal/inputs/env.go b/internal/inputs/env.go @@ -208,7 +208,7 @@ func ListEnvironmentVariables(args []string) error { e := environmentOutput{showValues: showValues} e.printEnvironmentVariable(true, StoreEnv, "", "directory to the database file", []string{"file"}) e.printEnvironmentVariable(true, keyModeEnv, commandKeyMode, "how to retrieve the database store password", []string{commandKeyMode, plainKeyMode}) - e.printEnvironmentVariable(true, keyEnv, "unset", fmt.Sprintf("the database key (%s) or shell command to run (%s) to retrieve the database password", plainKeyMode, commandKeyMode), []string{commandArgsExample, "password"}) + e.printEnvironmentVariable(true, keyEnv, "", fmt.Sprintf("the database key (%s) or shell command to run (%s) to retrieve the database password", plainKeyMode, commandKeyMode), []string{commandArgsExample, "password"}) e.printEnvironmentVariable(false, noClipEnv, isNo, "disable clipboard operations", isYesNoArgs) e.printEnvironmentVariable(false, noColorEnv, isNo, "disable terminal colors", isYesNoArgs) e.printEnvironmentVariable(false, interactiveEnv, isYes, "enable interactive mode", isYesNoArgs)