Skip to content

Commit

Permalink
Merge pull request #10 from japaric/tail
Browse files Browse the repository at this point in the history
watch tail -> tail -f
  • Loading branch information
japaric authored May 15, 2017
2 parents 9542a86 + 9562a58 commit 6d79132
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@
//! ```
//!
//! The OpenOCD logs will be redirected to `/tmp/openocd.log`. You can view
//! those logs in "real time" using `watch` + `tail`
//! those logs in "real time" using `tail`
//!
//! ``` text
//! $ watch 'tail /tmp/openocd.log'
//! Every 2.0s: tail /tmp/openocd.log
//!
//! $ tail -f /tmp/openocd.log
//! Info : Unable to match requested speed 1000 kHz, using 950 kHz
//! Info : Unable to match requested speed 1000 kHz, using 950 kHz
//! Info : clock speed 950 kHz
Expand All @@ -71,6 +69,10 @@
//! Info : nrf51.cpu: hardware has 4 breakpoints, 2 watchpoints
//! ```
//!
//! Alternatively you could omit the `-l` flag from the `openocd` call, and the
//! `tail -f` command but the OpenOCD output will have intermingled in it logs
//! from its normal operation.
//!
//! Then, we run the program:
//!
//! ``` text
Expand Down

0 comments on commit 6d79132

Please sign in to comment.