Skip to content

Commit ba91da4

Browse files
committed
Added readme syntax
1 parent 6dc39d4 commit ba91da4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ Small wrapper library over paramiko that allows for parallel execution of SSH co
66
.. image:: https://api.travis-ci.org/pkittenis/parallel-ssh.png?branch=master
77
:target: https://travis-ci.org/pkittenis/parallel-ssh
88

9-
###
109
Example
11-
###
10+
============
1211

12+
```python
1313
from pssh import ParallelSSHClient
1414
hosts = ['myhost1', 'myhost2']
1515
client = ParallelSSHClient(hosts)
1616
cmds = client.exec_command('ls -ltrh /tmp/aasdfasdf', sudo = True)
1717
print [client.get_stdout(cmd) for cmd in cmds]
18+
```

0 commit comments

Comments
 (0)