Merge pull request #349 from afh/pull/DocTests

[test] Use --args-only option in DocTests.py
This commit is contained in:
John Wiegley 2014-12-24 19:16:10 -06:00
commit 30d58f6813

View file

@ -114,7 +114,7 @@ class DocTests:
if command[0] == '$': command.remove('$')
index = command.index('ledger')
command[index] = self.ledger
for i,argument in enumerate('--init-file /dev/null --columns 80'.split()):
for i,argument in enumerate('--args-only --columns 80'.split()):
command.insert(index+i+1, argument)
try: