sekrit: add force flag to add subcommand

This commit is contained in:
Lucas 2020-06-15 02:43:34 +00:00
parent b37356c964
commit ec3f639580
2 changed files with 20 additions and 5 deletions

View file

@ -19,6 +19,7 @@
.Sh SYNOPSIS
.Nm
.Cm add
.Op Fl f
.Ar key
.Op Ar value ...
.Nm
@ -51,7 +52,7 @@ Because of this,
can be used as an account credentials manager,
or as a general-purpose key-value store of encrypted information.
.Bl -tag -width Ds
.It Nm Cm add Ar key Op Ar value ...
.It Nm Cm add Oo Fl f Oc Ar key Op Ar value ...
Adds a value to
.Ar key .
.Ar value
@ -64,7 +65,9 @@ will read the value from standard input.
.Cm add
will fail if
.Ar key
already has a value.
already has a value, unless
.Fl f
is specified.
.It Nm Cm cp Oo Fl k Oc Ar key
Decrypts the value associated with
.Ar key