Skip to content

Commit

Permalink
refactor: get repo url from Cargo.toml metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
hms5232 committed Sep 24, 2024
1 parent 0bb739a commit a44c816
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ fn main() {
givememoney v{}\n\
To allocate money, input `gmm [total] [each participant separate by space]`\n\
\n\
Check https://github.com/hms5232/givememoney for more information and update.\
Check {} for more information and update.\
",
env!("CARGO_PKG_VERSION")
env!("CARGO_PKG_VERSION"),
env!("CARGO_PKG_REPOSITORY"),
)
);
return;
Expand Down

0 comments on commit a44c816

Please sign in to comment.