Improve UX

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët 2020-05-27 12:44:16 +02:00
parent 7239f0c4d3
commit 4fb03cacb9
2 changed files with 12 additions and 12 deletions

View file

@ -72,16 +72,16 @@ Completion for secrets is only available in a trusted shell. See below.
Available commands:
init Initialize secret for the current user
list List all secrets for a given passphrase
show Print a secret
new Generate a new secret
set Set a new secret
renew Regenerate an existing secret
reset Update an existing secret
pass Derivate a new secret
agent Run a process in a trusted zone
version Show version
init Initialize secret for the current user
list List all secrets for a given passphrase
show Print a secret
new Generate a new random secret
set Set a new secret
renew Regenerate an existing secret
update Update an existing secret
pass Derivate a new secret
agent Run a process in a trusted zone
version Show version
All secrets are encrypted in the file `~/.secret`.
You can use a different file with the `SECRET_STORE` environment variable:

View file

@ -665,10 +665,10 @@ main(int argc, char **argv)
{"init", "Initialize secret for the current user", &s_init, .grp = 1},
{"list", "List all secrets for a given passphrase", &s_list, .grp = 1},
{"show", "Print a secret", &s_show, NULL, .grp = 1},
{"new", "Generate a new secret", &s_do, &s_new, .grp = 1},
{"new", "Generate a new random secret", &s_do, &s_new, .grp = 1},
{"set", "Set a new secret", &s_do, &s_set, .grp = 1},
{"renew", "Regenerate an existing secret", &s_do, &s_rnw, .grp = 1},
{"reset", "Update an existing secret", &s_do, &s_rst, .grp = 1},
{"update", "Update an existing secret", &s_do, &s_rst, .grp = 1},
{"pass", "Derivate a new secret", &s_pass, NULL, .grp = 1},
{"agent", "Run a process in a trusted zone", &s_agent, NULL, .grp = 1},
{"version", "Show version", &s_version, NULL, .grp = 1},