Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --always-total option #1087

Closed
wants to merge 1 commit into from

Conversation

lordjabez
Copy link
Contributor

Closes #1086

@lordjabez
Copy link
Contributor Author

@nedbat Let me know what you think. If you like it, I'll add a test or two.

@@ -120,8 +120,9 @@ def report(self, morfs, outfile=None):
for line in lines:
self.writeout(line[0])

# Write a TOTAl line if we had more than one file.
if self.total.n_files > 1:
# Write a TOTAl line if we had more than one file,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/TOTAl/TOTAL/

@lordjabez
Copy link
Contributor Author

Per request on the #1086 going to go with a simpler path and always output the TOTAL line no matter what.

@lordjabez lordjabez closed this Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to include TOTAL line even if there's only one file
2 participants