Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit 4064621

Browse files
committed
add auto authors & version via clap
1 parent 85d0877 commit 4064621

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/src/args_parser.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ pub fn build() -> App<'static, 'static> {
118118
App::new(doc::NAME)
119119
.about(doc::SHORT)
120120
.long_about(doc::LONG)
121+
.author(clap::crate_authors!())
122+
.version(clap::crate_version!())
121123
.setting(AppSettings::ArgRequiredElseHelp)
122124
.subcommand(build_localize_sub_command())
123125
.subcommand(build_localized_sub_command())

0 commit comments

Comments
 (0)