Imported Upstream version 16.5.2
[platform/upstream/libzypp.git] / tools / ToolScanRepos.cc
index 77ac136..0acfdbd 100644 (file)
@@ -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;