summaryrefslogtreecommitdiff
path: root/README.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'README.rdoc')
-rw-r--r--README.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rdoc b/README.rdoc
index 0818e47..3a90d57 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -33,11 +33,11 @@ In a nutshell:
session.use 'app2', 'user'
end
- # execute commands
+ # execute commands on all servers
session.exec "uptime"
# execute commands on a subset of servers
- session.with(:app) { session.exec "hostname" }
+ session.with(:app).exec "hostname"
# run the aggregated event loop
session.loop