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
835467e3
Commit
835467e3
authored
8 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Update docs.
parent
4c0367a9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/config.rst
+10
-4
10 additions, 4 deletions
docs/config.rst
with
10 additions
and
4 deletions
docs/config.rst
+
10
−
4
View file @
835467e3
...
...
@@ -11,11 +11,12 @@ like this::
num = 3
caps = off
specials = 2
delimiter = MYDELIMITER
delimiter =
"
MYDELIMITER
"
randomsource = system
wordlist = en
wordlist = "en"
dice_sides = 6
These settings would mean that by default phrases with
seven
words
These settings would mean that by default phrases with
three
words
(instead six) would be created. Commandline options, however, override
config file settings. So, with the settings above::
...
...
@@ -30,6 +31,7 @@ we will get three-word phrases while with::
we will override the config file setting for ``delimiter``. Other
settings from config file are still valid.
Option Names
------------
...
...
@@ -67,6 +69,10 @@ values.
``on``, and ``off`` as boolean values.
Some options require their setting to be taken from a fixed set of
names/values, for instance the ``randomsource`` option.
names/values, for instance the ``randomsource`` option. You can
normally get the allowed values from calling ``diceware --help``.
String-based options (like `delimiter`) accept values enclosed in
quotes to allow whitespace-only values.
If some value cannot be parsed, an exception is raised.
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