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

Commit 09c45fe

Browse files
authored
Merge pull request #23 from jmillerv/14-add-wordlist-parameter-to-generate-command
14 add wordlist parameter to generate command
2 parents d615de9 + 4e86663 commit 09c45fe

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

src/bin/gophrase-386-darwin

0 Bytes
Binary file not shown.

src/bin/gophrase-amd64-linux

-64 Bytes
Binary file not shown.

src/bin/gophrase-amd64.exe

0 Bytes
Binary file not shown.

src/command/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var Commands = []*cli.Command{
2828
if p.WordCount == 0 {
2929
p.WordCount = config.LoadedConfig.WordCount
3030
}
31-
p.WordList = c.Args().Get(1)
31+
p.WordList = corpus.SetWordList(c.Args().Get(1))
3232
if p.WordList == "" {
3333
p.WordList = config.LoadedConfig.WordList
3434
}

0 commit comments

Comments
 (0)