Skip to content

Commit a0474f6

Browse files
committed
update
1 parent 7967621 commit a0474f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ fn main() {
2020
let config_field_root = PossibleValue::new("root").help("The root of clones repository");
2121

2222
let mut app = Command::new("gpm")
23-
.version("v0.1.12")
24-
.author("Axetroy <axetroy.dev@gmail.com>")
25-
.about("A command line tool, manage your hundreds of repository, written with Rust")
23+
.version(version.as_str())
24+
.about(env!("CARGO_PKG_DESCRIPTION"))
25+
.author(env!("CARGO_PKG_AUTHORS"))
2626
.subcommand_required(true)
2727
.arg_required_else_help(true)
2828
.allow_external_subcommands(true)

0 commit comments

Comments
 (0)