tClose display blocks in manpages - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ac8f9db28832ea1072c36b26cbe74cedea033ff9
(DIR) parent 56ecbb86eba0309e57bec3469a052d388b776e0a
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 28 May 2020 19:28:14 +0200
Close display blocks in manpages
Diffstat:
M safe-agent.1 | 17 +++++++++--------
M safe.1 | 30 ++++++++++++++++--------------
2 files changed, 25 insertions(+), 22 deletions(-)
---
(DIR) diff --git a/safe-agent.1 b/safe-agent.1
t@@ -55,13 +55,13 @@ will use these environment variables internally to retrieve the key and
use it to encrypt/decrypt the stored secrets.
.Sh EXAMPLES
-.Bd -literal
Retrieve a secret from your safe, using the agent
-
- $ eval $(safe-agent)
- $ safe -r
- password:
- $ safe secret/file > kitten.gif
+.Bd -literal
+ $ eval $(safe-agent)
+ $ safe -r
+ password:
+ $ safe secret/file > kitten.gif
+.Ed
.Sh ENVIRONMENT
.Bl -tag -width "SAFE_SOCK"
t@@ -70,6 +70,8 @@ Stores the PID of the currently running agent.
.It Ev SAFE_SOCK
Stores the path to the UNIX-domain socket used to communicate with
the agent.
+.El
.Sh AUTHORS
-.An Willy Goiffon Aq Mt dev@z3bra.org
-\ No newline at end of file
+.An Willy Goiffon Aq Mt dev@z3bra.org
+
(DIR) diff --git a/safe.1 b/safe.1
t@@ -68,22 +68,24 @@ correctly on the next calls.
Do not delete this entry as it could lead to a corrupted safe.
.Sh EXAMPLES
-.Bd -literal
Store a secret in your safe
-
- $ safe -a secret/file < kitten.gif
-
-List all secrets in $STORE (choose your weapon)
-
- $ tree --noreport $STORE
- $ find $STORE -type f
- $ ls -R $STORE
- $ tar -C $STORE -v -f /dev/null -c . | cut -d / -f 2-
-
+.Bd -literal
+ $ safe -a secret/file < kitten.gif
+.Ed
+.Pp
+List all secrets in $SAFE_DIR (choose your weapon)
+.Bd -literal
+ $ tree --noreport $SAFE_DIR
+ $ find $SAFE_DIR -type f
+ $ ls -R $SAFE_DIR
+ $ tar -C $SAFE_DIR -v -f /dev/null -c . | cut -d / -f 2-
+.Ed
+.Pp
Retrieve a secret from your safe
-
- $ safe secret/file > kitten.gif
- password:
+.Bd -literal
+ $ safe secret/file > kitten.gif
+ password:
+.Ed
.Sh ENVIRONMENT
.Bl -tag -width "SAFE_SOCK"