Merge pull request #349 from afh/pull/DocTests
[test] Use --args-only option in DocTests.py
This commit is contained in:
commit
30d58f6813
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class DocTests:
|
||||||
if command[0] == '$': command.remove('$')
|
if command[0] == '$': command.remove('$')
|
||||||
index = command.index('ledger')
|
index = command.index('ledger')
|
||||||
command[index] = self.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)
|
command.insert(index+i+1, argument)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue