lockbox

password manager
Log | Files | Refs | README | LICENSE

commit edf534e3b8dc364ff9a00f995f2d300ec68f827e
parent 9852add9ff5131ab12a504844208e5accf6e80bc
Author: Sean Enck <sean@ttypty.com>
Date:   Sun,  8 Dec 2024 10:11:13 -0500

final cleanups

Diffstat:
Minternal/app/help/core.go | 2+-
Minternal/config/toml.go | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/internal/app/help/core.go b/internal/app/help/core.go @@ -82,7 +82,7 @@ func Usage(verbose bool, exe string) ([]string, error) { for _, c := range commands.CompletionTypes { results = append(results, subCommand(commands.Completions, c, "", fmt.Sprintf("generate %s completions", c))) } - results = append(results, command(commands.Env, "", "display environment variable information")) + results = append(results, command(commands.Env, "", "display configured variable information")) results = append(results, command(commands.Help, "", "show this usage information")) results = append(results, subCommand(commands.Help, commands.HelpAdvanced, "", "display verbose help information")) results = append(results, subCommand(commands.Help, commands.HelpConfig, "", "display verbose configuration information")) diff --git a/internal/config/toml.go b/internal/config/toml.go @@ -10,6 +10,7 @@ import ( "strings" "github.com/BurntSushi/toml" + "github.com/seanenck/lockbox/internal/app/commands" "github.com/seanenck/lockbox/internal/config/store" "github.com/seanenck/lockbox/internal/util" ) @@ -117,7 +118,7 @@ func generateDetailText(data printer) (string, error) { fmt.Sprintf("description:\n%s\n", description), fmt.Sprintf("requirement: %s", requirement), fmt.Sprintf("option: %s", strings.Join(allow, "|")), - fmt.Sprintf("env: %s", key), + fmt.Sprintf("%s name: %s", commands.Env, key), fmt.Sprintf("default: %s", value), fmt.Sprintf("type: %s", t), "",