From c6030012937fedfb674796c89134b153955bdf17 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 17 Mar 2015 02:52:33 +0100 Subject: edit command --- icevault.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'icevault.1') diff --git a/icevault.1 b/icevault.1 index a58a1e1..f2b3b76 100644 --- a/icevault.1 +++ b/icevault.1 @@ -11,6 +11,8 @@ IceVault \- IceVault client user interface .B icevault\fR [\fIOPTIONS\fR] \fBdump\fR \fIscheme\fR://\fIhostname\fR/\fIidentity\fR .br .B icevault\fR [\fIOPTIONS\fR] \fBclip\fR \fIscheme\fR://\fIhostname\fR/\fIidentity\fR +.br +.B icevault\fR [\fIOPTIONS\fR] \fBedit\fR \fIscheme\fR://\fIhostname\fR/\fIidentity\fR .SH DESCRIPTION @@ -77,11 +79,20 @@ Decrypt the \fIidentity\fR file and dump its content on the standard output. Note that while the output is a valid YAML document, original formatting may not be preserved; in particular, comments and empty lines are stripped. + .TP .B clip\fR \fIscheme\fR://\fIhostname\fR/\fIidentity\fR Decrypt the \fIidentity\fR file and copy the first password to the clipboard using \fIxclip\fR(1), with a maximum number of pastes of 1. +.TP +.B edit\fR \fIscheme\fR://\fIhostname\fR/\fIidentity\fR +Decrypt the \fIidentity\fR file to a temporary file and opens it using +the editor specified by the EDITOR environment variable. When the +editor exits, the file is reencrypted if the SHA-256 digest of its +content differs. Note that formatting and comments may not be preserved +by subsequent updates of the \fIidentity\fR file. + .SH OPTIONS .TP -- cgit v1.2.3