File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use async_trait::async_trait;
99use clap:: Parser ;
1010use oxide:: Client ;
1111
12+ use crate :: println_nopipe;
1213use crate :: { context:: Context , RunnableCmd } ;
1314
1415pub mod built_info {
@@ -27,9 +28,9 @@ impl RunnableCmd for CmdVersion {
2728 let cli_version = built_info:: PKG_VERSION ;
2829 let api_version = Client :: new ( "" ) . api_version ( ) ;
2930
30- println ! ( "Oxide CLI {}" , cli_version) ;
31+ println_nopipe ! ( "Oxide CLI {}" , cli_version) ;
3132
32- println ! (
33+ println_nopipe ! (
3334 "Built from commit: {} {}" ,
3435 built_info:: GIT_COMMIT_HASH . unwrap( ) ,
3536 if matches!( built_info:: GIT_DIRTY , Some ( true ) ) {
@@ -39,7 +40,7 @@ impl RunnableCmd for CmdVersion {
3940 }
4041 ) ;
4142
42- println ! ( "Oxide API: {}" , api_version) ;
43+ println_nopipe ! ( "Oxide API: {}" , api_version) ;
4344
4445 Ok ( ( ) )
4546 }
You can’t perform that action at this time.
0 commit comments