diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-09-29 21:48:18 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-09-29 21:48:18 +0300 |
commit | 947eb56f3dea20b68d77014c376fa891010a74dc (patch) | |
tree | 4004f4789eb2d5492efec165c09ff8f88f63ab2c /update | |
parent | d228bcb622bf74f9d52902eb360d84a696a68fed (diff) |
Add loading/saving messages to update utility.
Diffstat (limited to 'update')
-rw-r--r-- | update/src/update.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update/src/update.cpp b/update/src/update.cpp index 66a3e5ab..55c01659 100644 --- a/update/src/update.cpp +++ b/update/src/update.cpp @@ -42,6 +42,8 @@ int main( int argc, char** argv ) const char* input = argv[1]; const char* output = argv[2]; + printf( "Loading...\r" ); + fflush( stdout ); auto f = std::unique_ptr<tracy::FileRead>( tracy::FileRead::Open( input ) ); if( !f ) { @@ -65,6 +67,8 @@ int main( int argc, char** argv ) fprintf( stderr, "Cannot open output file!\n" ); exit( 1 ); } + printf( "Saving... \r" ); + fflush( stdout ); worker.Write( *w ); inVer = worker.GetTraceVersion(); } |