From 98e20544efdd4f03697d0d6c0a13be8566d2e129 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Fri, 6 Dec 2024 16:22:52 -0500 Subject: [PATCH] functions: Fix spelling of 'dictionaries' Signed-off-by: Jonathon Hall Signed-off-by: Thierry Laurion --- .../eff_short_wordlist_2_0.txt | 0 initrd/etc/functions | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename initrd/etc/{diceware_dictionnaries => diceware_dictionaries}/eff_short_wordlist_2_0.txt (100%) diff --git a/initrd/etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt b/initrd/etc/diceware_dictionaries/eff_short_wordlist_2_0.txt similarity index 100% rename from initrd/etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt rename to initrd/etc/diceware_dictionaries/eff_short_wordlist_2_0.txt diff --git a/initrd/etc/functions b/initrd/etc/functions index aa57676d..ae25bc2b 100755 --- a/initrd/etc/functions +++ b/initrd/etc/functions @@ -875,7 +875,7 @@ generate_passphrase() { usage_generate_passphrase() { echo "Usage: generate_passphrase --dictionary|-d [--number_words|-n ] [--max_length|-m ] [--lowercase|-l]" echo "Generates a passphrase using a Diceware dictionary." - echo " --dictionary|-d Path to the Diceware dictionary file (defaults to /etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt )." + echo " --dictionary|-d Path to the Diceware dictionary file (defaults to /etc/diceware_dictionaries/eff_short_wordlist_2_0.txt )." echo " [--number_words|-n ] Number of words in the passphrase (default: 3)." echo " [--max_length|-m ] Maximum size of the passphrase (default: 256)." echo " [--lowercase|-l] Use lowercase words (default: false)." @@ -910,7 +910,7 @@ generate_passphrase() { } TRACE_FUNC - local dictionary_file="/etc/diceware_dictionnaries/eff_short_wordlist_2_0.txt" + local dictionary_file="/etc/diceware_dictionaries/eff_short_wordlist_2_0.txt" local num_words=3 local max_size=256 local lowercase=false