Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from jmillerv/14-add-wordlist-parameter-to-gen…
Browse files Browse the repository at this point in the history
…erate-command

14 add wordlist parameter to generate command
  • Loading branch information
jmillerv authored Aug 15, 2022
2 parents d615de9 + 4e86663 commit 09c45fe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file modified src/bin/gophrase-386-darwin
Binary file not shown.
Binary file modified src/bin/gophrase-amd64-linux
Binary file not shown.
Binary file modified src/bin/gophrase-amd64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var Commands = []*cli.Command{
if p.WordCount == 0 {
p.WordCount = config.LoadedConfig.WordCount
}
p.WordList = c.Args().Get(1)
p.WordList = corpus.SetWordList(c.Args().Get(1))
if p.WordList == "" {
p.WordList = config.LoadedConfig.WordList
}
Expand Down

0 comments on commit 09c45fe

Please sign in to comment.