Skip to content

Commit

Permalink
EDIT: homophones arg parsing error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
techcentaur committed May 15, 2018
1 parent 08b3979 commit 83413d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def display_wordlist(self, wordlist, num):
parser.add_argument("-a", "--antonym", help="get antonyms", action="store_true")
parser.add_argument("-m", "--meaning", help="get meaning", action="store_true")

# parser.add_argument("-hp", "--homophones", help="get homophones", action="store_true")
parser.add_argument("-hg", "--homographs", help="get homographs", action="store_true")
parser.add_argument("-hp", "--homophones", help="get homophones", action="store_true")
# parser.add_argument("-hg", "--homographs", help="get homographs", action="store_true")
parser.add_argument("-sa", "--sound_alike", help="get words that sound alike", action="store_true")

parser.add_argument("-n", "--number", type=int, help="number of words need to be returned", default=50)
Expand Down

0 comments on commit 83413d7

Please sign in to comment.