Skip to content

Commit 7db38b7

Browse files
committed
Document -p
1 parent 3481e61 commit 7db38b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ Usage: jlctl [OPTIONS] <COMMAND>
3737
Commands:
3838
netlist Print current netlist
3939
bridge Interact with bridges
40+
server Start HTTP server
4041
help Print this message or the help of the given subcommand(s)
4142
4243
Options:
43-
-p <PORT> [default: /dev/ttyACM0]
44+
-p <PORT> Serial port where the Jumperless is connected [default: /dev/ttyACM0]
4445
-h, --help Print help
4546
-V, --version Print version
4647
```

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mod server;
1212
#[derive(Debug, Parser)]
1313
#[command(about = "CLI for the jumperless breadboard", version = build::CLAP_LONG_VERSION)]
1414
struct Cli {
15+
/// Serial port where the Jumperless is connected
1516
#[arg(short, default_value = "/dev/ttyACM0")]
1617
port: String,
1718
#[command(subcommand)]

0 commit comments

Comments
 (0)