From 0ca09457cc1ddd876d8b2529da96cd3c6365a064 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Thu, 14 Dec 2023 07:50:29 +0100 Subject: [PATCH] update example docs --- examples/rust/stdio/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/rust/stdio/src/main.rs b/examples/rust/stdio/src/main.rs index 9fd26ad2c06d..887a208f1b16 100644 --- a/examples/rust/stdio/src/main.rs +++ b/examples/rust/stdio/src/main.rs @@ -1,5 +1,10 @@ //! Demonstrates how to log data to standard output with the Rerun SDK, and then visualize it //! from standard input with the Rerun Viewer. +//! +//! Usage: +//! ```text +//! echo 'hello from stdin!' | cargo run | rerun - +//! ``` fn main() -> Result<(), Box> { let rec = rerun::RecordingStreamBuilder::new("rerun_example_stdio").stdout()?;