Fix punctuation of these statements.

This commit is contained in:
Ethan Dalool 2020-10-08 09:39:41 -07:00
parent 5147d7b988
commit d56eea85e6

View file

@ -143,11 +143,11 @@ def subparser_betterhelp(parser, main_docstring, sub_docstrings):
if command not in sub_docstrings: if command not in sub_docstrings:
print(main_docstring) print(main_docstring)
if command == '': if command == '':
because = 'you did not choose a command.' because = 'you did not choose a command'
print(f'You are seeing the default help text because {because}') print(f'You are seeing the default help text because {because}.')
elif command not in HELPSTRINGS: elif command not in HELPSTRINGS:
because = f'"{command}" was not recognized' because = f'"{command}" was not recognized'
print(f'You are seeing the default help text because {because}') print(f'You are seeing the default help text because {because}.')
return 1 return 1
argument = listget(argv, 1, '').lower() argument = listget(argv, 1, '').lower()