Skip to main content

Better example arguments (again)

ID
1e4394d
date
2025-01-06 21:12:44+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
fe6c77e
message
Better example arguments (again)
changed files
1 file, 2 additions, 2 deletions

Changed files

src/main.rs (10074) → src/main.rs (10093)

diff --git a/src/main.rs b/src/main.rs
index 43a5444..78e23cd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -329,8 +329,8 @@ mod test_helpers {
     /// Run this command-line tool with zero or more arguments:
     ///
     ///     run_command!();
-    ///     run_command!("square");
-    ///     run_command!("square", "--colour=red");
+    ///     run_command!("shape.png");
+    ///     run_command!("shape.png", "--sides=4", "--colour=red");
     ///
     /// This returns an `assert_cmd::assert::Assert` that will allow
     /// you to make assertions about the output.