From 587eae0419ea9de1aa53b63bd426876451523454 Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Sat, 14 Nov 2015 11:50:32 +0100 Subject: [PATCH] Update README. Give hints, how to customize configuration. --- README.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.rst b/README.rst index 611adf5..2934a91 100644 --- a/README.rst +++ b/README.rst @@ -180,6 +180,29 @@ empty lines (i.e. lines containing whitespace characters only). Oh, and we handle even PGP-signed wordlists. +Configuration +------------- + +You can set customized default values in a configuration file +``.diceware.ini`` placed in your home directory. This file could look +like this:: + + [diceware] + num = 7 + caps = off + specials = 2 + delimiter = MYDELIMITER + randomsource = system + wordlist = en_8k + +The options names have to match long argument names, as output by +``--help``. The values set must meet the requirements valid for +commandline usage. + +Please note, that all options must be set within a section +``[diceware]``. + + What is it good for? -------------------- -- GitLab