Skip to content

Commit c52f0d0

Browse files
committed
docs: documentation updates based on code review
Signed-off-by: Paul Osborne <[email protected]>
1 parent c72bbbb commit c52f0d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cargo install gpio-utils
1515

1616
## Features
1717

18-
- [ ] Infrastructure for providing names for the GPIOs in one systems providing
18+
- [ ] Infrastructure for providing names for the GPIOs in one's system providing
1919
names that map to individual pins. These names (in addition to GPIO numbers)
2020
may be used with other commands.
2121
- [ ] Ability to export/unexport GPIOs and expose symlinks using the GPIO "friendly"
@@ -32,7 +32,7 @@ system:
3232

3333
1. The `gpio` command. This provides the core functionality for GPIO Utils and
3434
is useful in its own right.
35-
2. The `gpio` init script. This init script can be integrated into a target
35+
2. The `gpio` init script/systemd service. This can be integrated into a target
3636
system and will ensure that configured GPIOs get exported on system startup
3737
(The GPIO command searches for `/etc/gpio.toml` and `/etc/gpio.d/*.toml`
3838
configs)

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn main() {
2626

2727
// gpio poll
2828
.subcommand(SubCommand::with_name("poll")
29-
.about("Wait for an event to happen on an GPIO Input")
29+
.about("Wait for an event to happen on a GPIO Input")
3030
.arg(Arg::with_name("pin")
3131
.help("The pin name (or number)")
3232
.index(1)
@@ -70,7 +70,7 @@ fn main() {
7070

7171
// gpio status
7272
.subcommand(SubCommand::with_name("status")
73-
.about("Output status of all configured GPIOs")
73+
.about("Output status of a GPIO or all GPIOs if no pin is specified")
7474
.arg(Arg::with_name("pin")
7575
.help("The pin name (or number)")
7676
.index(1)

0 commit comments

Comments
 (0)