Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
diceware-debian
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drebs
diceware-debian
Commits
8a8cfd8f
Commit
8a8cfd8f
authored
9 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
More config file options.
parent
0e84e4c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/config.rst
+21
-3
21 additions, 3 deletions
docs/config.rst
with
21 additions
and
3 deletions
docs/config.rst
+
21
−
3
View file @
8a8cfd8f
...
...
@@ -8,13 +8,31 @@ defaults and make your custom settings the default.
like this::
[diceware]
num =
7
num =
3
caps = off
specials = 2
delimiter = MYDELIMITER
randomsource = system
wordlist = en_8k
These settings would mean that by default phrases with seven words
(instead six) would be created. Commandline options, however, override
config file settings. So, with the settings above::
$ diceware
Duma7YDELIMITER56MYDE^IMITERJock
we will get three-word phrases while with::
$ diceware --delimiter=FOO
AmuseFOO]us(FOO18th
we will override the config file setting for ``delimiter``. Other
settings from config file are still valid.
Option Names
------------
The options names have to match long argument names, as output with
``--help``. The values set must meet the requirements valid for
commandline usage.
...
...
@@ -27,8 +45,8 @@ Please note, that all options must be set within a section
``[diceware]``.
Name and Path
-------------
Config File
Name and Path
-------------
------------
Currently, we look for configuration files only in the calling users'
home directory. The file must be called::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment