diff --git a/README.md b/README.md index 37adb35..9bea39f 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/secret.c b/secret.c index 24fd656..4092ea0 100644 --- a/secret.c +++ b/secret.c @@ -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},