mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-18 21:11:00 +01:00
fix typos and formatting
This commit is contained in:
15
anydb.pod
15
anydb.pod
@@ -133,7 +133,7 @@ You might as well specify a file directly using the C<-f> option:
|
|||||||
|
|
||||||
Values can be encrypted using B<ChaCha20Poly1305> when you specify the
|
Values can be encrypted using B<ChaCha20Poly1305> when you specify the
|
||||||
C<-e> option. Anydb will ask you interactively for a passphrase. You
|
C<-e> option. Anydb will ask you interactively for a passphrase. You
|
||||||
might as well provide the passphrase using the environment variable
|
can also provide the passphrase using the environment variable
|
||||||
C<ANYDB_PASSWORD>. To encrypt the value, a cryptographically secure
|
C<ANYDB_PASSWORD>. To encrypt the value, a cryptographically secure
|
||||||
key will be derived from the passphrase using the ArgonID2
|
key will be derived from the passphrase using the ArgonID2
|
||||||
algorithm. Each value can be encrypted with another passphrase. So,
|
algorithm. Each value can be encrypted with another passphrase. So,
|
||||||
@@ -189,7 +189,7 @@ If the value is encrypted, you will be asked for the passphrase to
|
|||||||
decrypt it. If the environment variable C<ANYDB_PASSWORD> is set, its
|
decrypt it. If the environment variable C<ANYDB_PASSWORD> is set, its
|
||||||
value will be used instead.
|
value will be used instead.
|
||||||
|
|
||||||
There are different output modes you can choos from: simple, wide and
|
There are different output modes you can choose from: simple, wide and
|
||||||
json. The "simple" mode is the default one, it just prints the value
|
json. The "simple" mode is the default one, it just prints the value
|
||||||
as is. The "wide" mode prints a tabular output similar to the B<list>
|
as is. The "wide" mode prints a tabular output similar to the B<list>
|
||||||
subcommand, see there for more details. The options C<-n> and C<-N>
|
subcommand, see there for more details. The options C<-n> and C<-N>
|
||||||
@@ -315,7 +315,7 @@ Please note, that this does not work with binary content!
|
|||||||
|
|
||||||
=head2 export
|
=head2 export
|
||||||
|
|
||||||
Since the bbold database file is not portable across platforms (it is
|
Since the bbolt database file is not portable across platforms (it is
|
||||||
bound to the endianess of the CPU it was being created on), you might
|
bound to the endianess of the CPU it was being created on), you might
|
||||||
want to create a backup file of your database. You can do this with
|
want to create a backup file of your database. You can do this with
|
||||||
the B<export> subcommand.
|
the B<export> subcommand.
|
||||||
@@ -444,10 +444,15 @@ The following template variables can be used:
|
|||||||
=over
|
=over
|
||||||
|
|
||||||
=item B<Key> - string
|
=item B<Key> - string
|
||||||
|
|
||||||
=item B<Value> - string
|
=item B<Value> - string
|
||||||
|
|
||||||
=item B<Bin> - []byte
|
=item B<Bin> - []byte
|
||||||
|
|
||||||
=item B<Created> - time.Time
|
=item B<Created> - time.Time
|
||||||
|
|
||||||
=item B<Tags> - []string
|
=item B<Tags> - []string
|
||||||
|
|
||||||
=item B<Encrypted> bool
|
=item B<Encrypted> bool
|
||||||
|
|
||||||
=back
|
=back
|
||||||
@@ -473,7 +478,7 @@ Print the values in CSV format ONLY if they have some tag:
|
|||||||
|
|
||||||
=head1 CONFIGURATION
|
=head1 CONFIGURATION
|
||||||
|
|
||||||
Anydb looks at the following location for a configuration file, in
|
Anydb looks at the following locations for a configuration file, in
|
||||||
that order:
|
that order:
|
||||||
|
|
||||||
=over
|
=over
|
||||||
@@ -486,6 +491,8 @@ that order:
|
|||||||
|
|
||||||
=item or specify one using C<-c>
|
=item or specify one using C<-c>
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
The configuration format uses the TOML language, refer to
|
The configuration format uses the TOML language, refer to
|
||||||
L<https://toml.io/en/> for more details. The key names correspond to
|
L<https://toml.io/en/> for more details. The key names correspond to
|
||||||
the commandline options in most cases.
|
the commandline options in most cases.
|
||||||
|
|||||||
Reference in New Issue
Block a user