Skip to content

Commit

Permalink
add version in clap
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Oct 31, 2024
1 parent 7e6acf7 commit abb36db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "portgen"
version = "0.1.0"
version = "0.6.2"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Port number generator for substrate node naming conventions.

## install
```sh
curl -L https://github.com/rotkonetworks/portgen/releases/download/v0.6.1/portgen -o portgen && chmod +x portgen && sudo mv portgen /usr/local/bin/
curl -L https://github.com/rotkonetworks/portgen/releases/download/v0.6.2/portgen -o portgen && chmod +x portgen && sudo mv portgen /usr/local/bin/
```

## usage example
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{fmt, net::Ipv4Addr, str::FromStr};
const PORT_BASE: u16 = 30000;

#[derive(Parser)]
#[command(name = "portgen", about = "Generate port numbers and IP addresses for substrate nodes", version = "0.6.1")]
#[command(name = "portgen", about = "Generate port numbers and IP addresses for substrate nodes", version = "0.6.2")]
#[command(after_help = "\
Examples:
# Relay chain nodes
Expand Down

0 comments on commit abb36db

Please sign in to comment.