Imported Upstream version 17.23.7
[platform/upstream/libzypp.git] / tools / ToolScanRepos.cc
index 77ac136..289b604 100644 (file)
@@ -1,5 +1,5 @@
 #define INCLUDE_TESTSETUP_WITHOUT_BOOST
-#include "zypp/../tests/lib/TestSetup.h"
+#include "../tests/lib/TestSetup.h"
 #undef  INCLUDE_TESTSETUP_WITHOUT_BOOST
 
 static std::string appname( "ToolScanRepos" );
@@ -61,7 +61,7 @@ int main( int argc, char * argv[] )
     {
       oClearRoot = false;
     }
-    else if ( argv[0] == std::string("-r") )
+    else if ( argv[0] == std::string("-r") || argv[0] == std::string("--root"))
     {
       --argc;
       ++argv;