From c9ac610cac27eeb8f3fcb22651e31c259cc9ad77 Mon Sep 17 00:00:00 2001 From: Gideon le Grange Date: Thu, 11 Jul 2013 16:50:56 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a330ea..b5db90a 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,9 @@ The same query, but we only want certain result fields names Print all interface List rs = con.execute("/interface/print where type=vlan return name"); ``` -We run asynchrynous commands: +We can run asynchrynous commands: -This examples shows how to run '/interface wireless monitor' and have the result sent to a listener object, which prints it +This example shows how to run '/interface wireless monitor' and have the result sent to a listener object, which prints it ```java Command cmd = con.execute("/interface/wireless/monitor .id=wlan1 return signal-to-noise", @@ -60,7 +60,7 @@ Command cmd = con.execute("/interface/wireless/monitor .id=wlan1 return signal-t ); ``` -This command will run and send results asynchrynously as they become available, until it is canceled. The command (returned in the Command +The above command will run and send results asynchrynously as they become available, until it is canceled. The command (returned in the Command object above) is cancelled like this: ```java