-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: unify mayastor-client address/port flags
Unifies the `-a` and `-p` flags to a `-h` flag which takes a full url (optionally) without a scheme. Further, this makes the flag global, so it can be used in any position: ```bash RUST_BACKTRACE=1 RUST_LOG=mayastor=trace cargo run -- nexus list cargo run -- --bind 127.0.0.1 nexus list cargo run -- --bind 127.0.0.1:10124 nexus list cargo run -- -b http://127.0.0.1:10124 nexus list cargo run -- --bind http://127.0.0.1 nexus list cargo run -- nexus list --bind 127.0.0.1 cargo run -- nexus list --bind 127.0.0.1:10124 cargo run -- nexus list -b http://127.0.0.1:10124 cargo run -- nexus list --bind http://127.0.0.1 ``` Signed-off-by: Ana Hobden <[email protected]>
- Loading branch information
Showing
4 changed files
with
106 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters