Skip to content
Browse files
Add private and published counts to status.
  • Loading branch information
punchagan committed May 6, 2016
1 parent 707755d commit 18820ce5a0a62643e80c8b6a38032fb36113e8f8
Showing 1 changed file with 1 addition and 1 deletion.
@@ -153,7 +153,7 @@ def _execute(self, options, args):
if options['list_published']:
for post in posts_published:
print("Published: '{0}' ({1}; source: {2})".format(post.meta('title'), post.permalink(), post.source_path))
print("{0} posts in total, {1} scheduled, and {2} drafts.".format(posts_count, len(posts_scheduled), len(posts_drafts)))
print("{0} posts in total, {1} scheduled, {2} drafts, {3} private and {4} published.".format(posts_count, len(posts_scheduled), len(posts_drafts), len(posts_private), len(posts_published)))

def human_time(self, dt):
"""Translate time into a human-friendly representation."""

0 comments on commit 18820ce

Please sign in to comment.