Skip to content

Commit 7349294

Browse files
committed
Add notes on start of page 18
1 parent 5dede81 commit 7349294

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

documentation3/C01-TompsonBook-Start.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
p.18
44

5+
Attempts
6+
57
```bash
68
cargo install-update -a
79

@@ -16,10 +18,35 @@ error: no such command: `install-update`
1618

1719
View all installed commands with `cargo --list`
1820
Find a package to install `install-update` with `cargo search cargo-install-update`
21+
```
22+
23+
the following attempt ran without output
1924

25+
```bash
2026
cargo search cargo-install-update
27+
```
2128

29+
the following are correct attempts
30+
31+
## Command
32+
33+
```bash
2234
cargo install cargo-update
2335
```
2436

25-
installs cargo-update
37+
Installs cargo-update
38+
39+
Produces many lines of output.
40+
41+
## Command
42+
43+
```bash
44+
cargo install-update -a
45+
```
46+
47+
## Output
48+
49+
No packages need updating.
50+
Overall updated 0 packages.
51+
52+
____

0 commit comments

Comments
 (0)