Prechádzať zdrojové kódy

Documentation update

Jonas Borgström 11 rokov pred
rodič
commit
530dfd1558
2 zmenil súbory, kde vykonal 7 pridanie a 7 odobranie
  1. 1 1
      docs/usage.rst
  2. 6 6
      docs/usage/init.rst.inc

+ 1 - 1
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

+ 6 - 6
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
 ~~~~~~~~~~~