Skip to content

Commit

Permalink
feat(cli): improve the help message
Browse files Browse the repository at this point in the history
Signed-off-by: Yagiz Degirmenci <[email protected]>
  • Loading branch information
ycd committed Nov 24, 2021
1 parent f6d4ec4 commit 424bac3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
```
Usage: dstp [OPTIONS] [ARGS]
Options:
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-p <int> Number of ping packets [Default: 3]
-t <int> Give up on ping after this many seconds [Default: 2s per ping packet]
--port <string> Port for testing TLS and HTTPS connectivity [Default: 443]
-h, --help Show this message and exit.
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-p <int> Number of ping packets [Default: 3]
-t <int> Give up on ping after this many seconds [Default: 2s per ping packet]
--port <string> Port for testing TLS and HTTPS connectivity [Default: 443]
-h, --help Show this message and exit.
```

## Motivation
Expand Down Expand Up @@ -126,12 +126,12 @@ for 64-bit Windows, macOS, and Linux targets. They contain the compiled executab
Usage: dstp [OPTIONS] [ARGS]
Options:
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-p <int> Number of ping packets [Default: 3]
-t <int> Give up on ping after this many seconds [Default: 2s per ping packet]
--port <string> Port for testing TLS and HTTPS connectivity [Default: 443]
-h, --help Show this message and exit.
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-p <int> Number of ping packets [Default: 3]
-t <int> Give up on ping after this many seconds [Default: 2s per ping packet]
--port <string> Port for testing TLS and HTTPS connectivity [Default: 443]
-h, --help Show this message and exit.
```

---
Expand Down

0 comments on commit 424bac3

Please sign in to comment.