Mercurial > hg
diff mercurial/minirst.py @ 14687:15200b46165b stable
merge default branch into stable to mark the start of the code freeze
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 18 Jun 2011 17:03:01 -0500 |
parents | 7658221da551 |
children | ee766af457ed |
line wrap: on
line diff
--- a/mercurial/minirst.py Wed Jun 01 16:32:48 2011 -0500 +++ b/mercurial/minirst.py Sat Jun 18 17:03:01 2011 -0500 @@ -467,10 +467,10 @@ print return blocks - text = open(sys.argv[1]).read() + text = sys.stdin.read() blocks = debug(findblocks, text) blocks = debug(findliteralblocks, blocks) - blocks, pruned = debug(prunecontainers, blocks, sys.argv[2:]) + blocks, pruned = debug(prunecontainers, blocks, sys.argv[1:]) blocks = debug(inlineliterals, blocks) blocks = debug(splitparagraphs, blocks) blocks = debug(updatefieldlists, blocks)