@@ -9,9 +9,9 @@ fn build_version_info() -> String {
99 let version = env ! ( "CARGO_PKG_VERSION" ) ;
1010 let git_hash = option_env ! ( "GIT_HASH" ) . unwrap_or ( "unknown" ) ;
1111 let profile = option_env ! ( "BUILD_PROFILE" ) . unwrap_or ( "unknown" ) ;
12-
12+
1313 let mut parts = vec ! [ format!( "Ruby Butler v{}" , version) ] ;
14-
14+
1515 // Add tag if available, otherwise add git hash
1616 if let Some ( tag) = option_env ! ( "GIT_TAG" ) {
1717 if !tag. is_empty ( ) && tag != format ! ( "v{}" , version) {
@@ -20,21 +20,23 @@ fn build_version_info() -> String {
2020 } else if git_hash != "unknown" {
2121 parts. push ( format ! ( "({})" , git_hash) ) ;
2222 }
23-
23+
2424 // Add profile if debug
2525 if profile == "debug" {
2626 parts. push ( "[debug build]" . to_string ( ) ) ;
2727 }
28-
28+
2929 // Add dirty flag if present
3030 if option_env ! ( "GIT_DIRTY" ) . is_some ( ) {
3131 parts. push ( "[modified]" . to_string ( ) ) ;
3232 }
33-
34- parts. push ( "\n \n A sophisticated Ruby environment manager with the refined precision" . to_string ( ) ) ;
33+
34+ parts. push (
35+ "\n \n A sophisticated Ruby environment manager with the refined precision" . to_string ( ) ,
36+ ) ;
3537 parts. push ( "of a proper gentleman's gentleman.\n " . to_string ( ) ) ;
3638 parts. push ( "At your distinguished service, RubyElders.com" . to_string ( ) ) ;
37-
39+
3840 parts. join ( " " )
3941}
4042
@@ -44,7 +46,7 @@ fn main() {
4446 println ! ( "{}" , build_version_info( ) ) ;
4547 return ;
4648 }
47-
49+
4850 let cli = Cli :: parse ( ) ;
4951
5052 // Initialize logger with the effective log level (considering -v/-vv flags)
0 commit comments