Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add private and published counts to status.
  • Loading branch information
punchagan committed May 6, 2016
1 parent 707755d commit 18820ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/status.py
Expand Up @@ -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."""
Expand Down

0 comments on commit 18820ce

Please sign in to comment.