Skip to content

Commit

Permalink
chore(cli): add version option
Browse files Browse the repository at this point in the history
  • Loading branch information
XOR-op committed Oct 18, 2023
1 parent 937387e commit 99800da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boltconn/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod proxy;
mod transport;

#[derive(Debug, Parser)]
#[structopt(name = "boltconn", about = "Cli interface of BoltConn")]
#[clap(name = "boltconn", about = "CLI interface of BoltConn", version = env!("CARGO_PKG_VERSION"))]
struct ProgramArgs {
/// RESTful API URL; if not set, the controller will use unix domain socket as default.
#[arg(short, long)]
Expand Down

0 comments on commit 99800da

Please sign in to comment.