~seirdy/moac

Fix some spelling mistakes v1 APPLIED

Pranjal Kole: 1
 Fix some spelling mistakes

 4 files changed, 4 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~seirdy/moac/patches/26057/mbox | git am -3
Learn more about email & git

[PATCH] Fix some spelling mistakes Export this patch

"liklihood" -> "likelihood"
"alculate" -> "calculate"
---
 cmd/moac/main.go      | 2 +-
 completions/zsh/_moac | 2 +-
 doc/moac.1.scd        | 2 +-
 givens.go             | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmd/moac/main.go b/cmd/moac/main.go
index b2123e4..28a2fdc 100644
--- a/cmd/moac/main.go
+++ b/cmd/moac/main.go
@@ -34,7 +34,7 @@ OPTIONS:
  -p <password>	Password to analyze; use "-" for stdin

COMMANDS:
  strength	Calculate the liklihood of a successful guess 
  strength	Calculate the likelihood of a successful guess
  entropy	Calculate the entropy of the given password
  entropy-limit	Calculate the minimum entropy for a brute-force attack failure.
`
diff --git a/completions/zsh/_moac b/completions/zsh/_moac
index 06b425d..73a219c 100644
--- a/completions/zsh/_moac
+++ b/completions/zsh/_moac
@@ -17,7 +17,7 @@ _arguments \

local -a subcommands
subcommands=(
	"strength:alculate the liklihood of a successful guess"
	"strength:calculate the likelihood of a successful guess"
	"entropy:calculate the entropy of the given password"
	"entropy-limit:calculate the minimum entropy for a brute-force attack failure."
)
diff --git a/doc/moac.1.scd b/doc/moac.1.scd
index bdd6f04..72f79fc 100644
--- a/doc/moac.1.scd
+++ b/doc/moac.1.scd
@@ -83,7 +83,7 @@ radiation.
# COMMANDS

*strength*
	Calculate the liklihood of a successful guess.
	Calculate the likelihood of a successful guess.

*entropy*
	Calculate the entropy of the given password
diff --git a/givens.go b/givens.go
index 9a44b5f..5207ed6 100644
--- a/givens.go
+++ b/givens.go
@@ -114,7 +114,7 @@ func (givens *Givens) Populate() error {
	return nil
}

// BruteForceability computes the liklihood that a password will be
// BruteForceability computes the likelihood that a password will be
// brute-forced given the contstraints in givens.
// if 0 < BruteForceability <= 1, it represents the probability that the
// password can be brute-forced.
-- 
2.33.1
Thanks, applied.