Browse Source

Detect auto metrics for managed apps

Josh Engebretson 9 years ago
parent
commit
26f17359a3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/AtomicApp/AppBase.cpp

+ 5 - 0
Source/AtomicApp/AppBase.cpp

@@ -71,6 +71,11 @@ namespace Atomic
 
     void AppBase::AddArgument(const String& argument)
     {
+        if (argument == "--autometrics")
+        {
+            Application::autoMetrics_ = true;
+        }
+
         arguments_.Push(argument);
     }