diff --git a/src/ch12-01-accepting-command-line-arguments.md b/src/ch12-01-accepting-command-line-arguments.md index 46f2f37f00..99cad7f0ba 100644 --- a/src/ch12-01-accepting-command-line-arguments.md +++ b/src/ch12-01-accepting-command-line-arguments.md @@ -11,10 +11,10 @@ $ cd minigrep ``` The first task is to make `minigrep` accept its two command line arguments: the -file path and a string to search for. That is, we want to be able to run our +file path and a string for which to search. That is, we want to be able to run our program with `cargo run`, two hyphens to indicate the following arguments are -for our program rather than for `cargo`, a string to search for, and a path to -a file to search in, like so: +for our program rather than for `cargo`, a string for which to search, and a path to +a file within which to search, like so: ```console $ cargo run -- searchstring example-filename.txt