This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(profile): add build profile in version
- Loading branch information
Florentin DUBOIS
committed
Jul 17, 2018
1 parent
b08303a
commit efb11c5
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,12 @@ fn main() { | |
log::bootstrap(); | ||
|
||
let matches = App::new("beamium") | ||
.version(&*format!("{} ({})", env!("CARGO_PKG_VERSION"), COMMIT)) | ||
.version(&*format!( | ||
"{} ({}#{})", | ||
env!("CARGO_PKG_VERSION"), | ||
COMMIT, | ||
PROFILE, | ||
)) | ||
.author("d33d33 <[email protected]>") | ||
.about("Send Prometheus metrics to Warp10") | ||
.args_from_usage( | ||
|