Skip to content

Commit 7051fc8

Browse files
functions: Fix spelling of 'dictionaries'
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
1 parent 6591f26 commit 7051fc8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

initrd/etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt renamed to initrd/etc/diceware_dictionaries/eff_short_wordlist_2_0.txt

File renamed without changes.

initrd/etc/functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ generate_passphrase() {
875875
usage_generate_passphrase() {
876876
echo "Usage: generate_passphrase --dictionary|-d <dictionary_file> [--number_words|-n <num_words>] [--max_length|-m <max_size>] [--lowercase|-l]"
877877
echo "Generates a passphrase using a Diceware dictionary."
878-
echo " --dictionary|-d <dictionary_file> Path to the Diceware dictionary file (defaults to /etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt )."
878+
echo " --dictionary|-d <dictionary_file> Path to the Diceware dictionary file (defaults to /etc/diceware_dictionaries/eff_short_wordlist_2_0.txt )."
879879
echo " [--number_words|-n <num_words>] Number of words in the passphrase (default: 3)."
880880
echo " [--max_length|-m <max_size>] Maximum size of the passphrase (default: 256)."
881881
echo " [--lowercase|-l] Use lowercase words (default: false)."
@@ -910,7 +910,7 @@ generate_passphrase() {
910910
}
911911

912912
TRACE_FUNC
913-
local dictionary_file="/etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt"
913+
local dictionary_file="/etc/diceware_dictionaries/eff_short_wordlist_2_0.txt"
914914
local num_words=3
915915
local max_size=256
916916
local lowercase=false

0 commit comments

Comments
 (0)