From 6fefffe8a5017f4e3ca23911143e573b75095190 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 20 Dec 2018 17:07:15 +0100 Subject: [PATCH] Implement automated connection to a given IP address. --- profiler/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index f7f49104..eb3edf60 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -85,6 +85,10 @@ int main( int argc, char** argv ) view = std::make_unique( *f ); } } + else if( argc == 3 && strcmp( argv[1], "-a" ) == 0 ) + { + view = std::make_unique( argv[2] ); + } char title[128]; sprintf( title, "Tracy server %i.%i.%i", tracy::Version::Major, tracy::Version::Minor, tracy::Version::Patch );