Skip to content

Commit

Permalink
update readme (add gateway arg)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapacan committed Apr 6, 2024
1 parent 3192d4b commit 90a0880
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livebox-exporter-rs"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Supported command-line options (hope `-P` vs `-p` not to confusing):
| -P, --password <password> | Livebox password **(required)** | None |
| -p, --port <port> | Exporter port | 9100 |
| -l, --listen <address> | Listen address | 0.0.0.0 |
| -G, --gateway <address> | Livebox gateway ip address | 192.168.1.1 |
| -v, --verbose | Enable verbose logging (repeat for increased verbosity) | Off |
| -h, --help | Display help message | N/A |

Expand All @@ -97,6 +98,7 @@ Options:
-l, --listen <address> listen address [default: 0.0.0.0]
-v, --verbose... verbose logging
-P, --password <password> Livebox password [required]
-G, --gateway <gateway> Livebox gateway ip address [default: 192.168.1.1]
-h, --help Print help
-V, --version Print version
```
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ mod tests {
"-P",
"mypassword",
"-G",
"192.168.1.10"
"192.168.1.10",
];
let matches = parse_args(args);
assert_eq!(
Expand Down

0 comments on commit 90a0880

Please sign in to comment.