1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-19 00:36:36 +02:00

add option to unencrypt an encrypted data file

This commit is contained in:
Jfreegman
2014-09-18 23:50:51 -04:00
parent 618704df76
commit 919d36369c
4 changed files with 60 additions and 33 deletions

View File

@ -2,12 +2,12 @@
.\" Title: toxic
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 2014-08-21
.\" Date: 2014-09-15
.\" Manual: Toxic Manual
.\" Source: toxic __VERSION__
.\" Language: English
.\"
.TH "TOXIC" "1" "2014\-08\-21" "toxic __VERSION__" "Toxic Manual"
.TH "TOXIC" "1" "2014\-09\-15" "toxic __VERSION__" "Toxic Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@ -62,7 +62,7 @@ Use default locale
.PP
\-e, \-\-encrypt\-data
.RS 4
Encrypt an existing unencrypted data file\&. An error will occur if this option is used with a non\-existent or encrypted data file\&.
Encrypt an unencrypted data file\&. An error will occur if this option is used with a non\-existent or encrypted data file\&.
.RE
.PP
\-f, \-\-file data\-file
@ -106,6 +106,11 @@ Use specified DNSservers file
Force TCP connection (use this with proxies)
.RE
.PP
\-u, \-\-unencrypt\-data
.RS 4
Unencrypt a data file\&. A warning will appear if this option is used with a data file that is already unencrypted\&.
.RE
.PP
\-x, \-\-nodata
.RS 4
Ignore data file

View File

@ -31,8 +31,8 @@ OPTIONS
Use default locale
-e, --encrypt-data::
Encrypt an existing unencrypted data file. An error will occur
if this option is used with a non-existent or encrypted data file.
Encrypt an unencrypted data file. An error will occur if this option
is used with a non-existent or encrypted data file.
-f, --file data-file::
Use specified 'data-file' instead of '~/.config/tox/data'
@ -56,6 +56,10 @@ OPTIONS
-t, --force-tcp::
Force TCP connection (use this with proxies)
-u, --unencrypt-data::
Unencrypt a data file. A warning will appear if this option is used
with a data file that is already unencrypted.
-x, --nodata::
Ignore data file