diff --git a/rundoc/__init__.py b/rundoc/__init__.py index f12c7f8..7a9a3ad 100644 --- a/rundoc/__init__.py +++ b/rundoc/__init__.py @@ -1,7 +1,7 @@ """ A command-line utility that runs code blocks from markdown files. """ -__version__ = "0.3.19" +__version__ = "0.3.20" __license__ = "BSD" __year__ = "2017-2018" __author__ = "Predrag Mandic" diff --git a/rundoc/commander.py b/rundoc/commander.py index 252989a..ba3cf67 100644 --- a/rundoc/commander.py +++ b/rundoc/commander.py @@ -202,8 +202,8 @@ def run(self, ask>=3 or ask_for_prompt_once or self.step in breakpoint tags = '[{}] '.format(self.doc_block.interpreter) tags += ' '.join(self.doc_block.tags[1:]) - prompt_text = "\n{}=== Step {} {}{}".format( - ansi.bold, self.step, tags, ansi.end) + prompt_text = "\n{}=== Step {}/{} {}{}".format( + ansi.bold, self.step, len(self.doc_blocks), tags, ansi.end) print(prompt_text) if not prompt_this_time: print(self.doc_block)