summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordluyer <53582923+dluyer@users.noreply.github.com>2020-01-14 08:10:58 -0800
committerGitHub <noreply@github.com>2020-01-14 08:10:58 -0800
commit4228cde2fd26f321fba4aec9205537d9d1614817 (patch)
treecc8c7b53bdb27a528fc0e05dd280f93e0253ff6b
parent3412f4d50b35b0e7b2cc382ab05e63f16bb2e02d (diff)
downloadpexpect-git-4228cde2fd26f321fba4aec9205537d9d1614817.tar.gz
Undo incorrect formatting update
-rw-r--r--pexpect/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/run.py b/pexpect/run.py
index af73137..ff288a1 100644
--- a/pexpect/run.py
+++ b/pexpect/run.py
@@ -49,7 +49,7 @@ def run(command, timeout=30, withexitstatus=False, events=None,
(command_output, exitstatus) = run('ls -l /bin', withexitstatus=1)
The following will run SSH and execute 'ls -l' on the remote machine. The
- password 'secret' will be sent if the '(?i)password' pattern is ever seen:
+ password 'secret' will be sent if the '(?i)password' pattern is ever seen::
run("ssh username@machine.example.com 'ls -l'",
events={'(?i)password':'secret\\n'})