From 530dfd15583148cd7e2d26e59dd463c90cd5c3c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Borgstr=C3=B6m?= Date: Thu, 3 Oct 2013 21:00:54 +0200 Subject: [PATCH] Documentation update --- docs/usage.rst | 2 +- docs/usage/init.rst.inc | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 01c9d1653..91d0fe0ee 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -33,7 +33,7 @@ Examples $ attic init user@hostname:mybackuprepo.attic # Encrypted remote backup repository - $ attic init --passphrase user@hostname:mybackuprepo.attic + $ attic init --encryption=passphrase user@hostname:mybackuprepo.attic .. include:: usage/create.rst.inc diff --git a/docs/usage/init.rst.inc b/docs/usage/init.rst.inc index 9caa9b3a7..e972302fe 100644 --- a/docs/usage/init.rst.inc +++ b/docs/usage/init.rst.inc @@ -5,18 +5,18 @@ attic init :: - usage: attic init [-h] [-v] [--key-file] [--passphrase] REPOSITORY + usage: attic init [-h] [-v] [-e {none,passphrase,keyfile}] REPOSITORY Initialize an empty repository positional arguments: - REPOSITORY repository to create + REPOSITORY repository to create optional arguments: - -h, --help show this help message and exit - -v, --verbose verbose output - --key-file enable key file based encryption - --passphrase enable passphrase based encryption + -h, --help show this help message and exit + -v, --verbose verbose output + -e {none,passphrase,keyfile}, --encryption {none,passphrase,keyfile} + select encryption method Description ~~~~~~~~~~~