|
@@ -89,6 +89,7 @@ namespace DirEx
|
|
|
return -1;
|
|
|
}
|
|
|
break;
|
|
|
+
|
|
|
case "/s":
|
|
|
option = SearchOption.AllDirectories;
|
|
|
break;
|
|
@@ -102,6 +103,7 @@ namespace DirEx
|
|
|
Environment.Exit(1);
|
|
|
return -1;
|
|
|
}
|
|
|
+
|
|
|
if (!showFile && !showDir)
|
|
|
{
|
|
|
Console.Error.WriteLine("Missing /f or /d");
|
|
@@ -144,7 +146,6 @@ namespace DirEx
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
return 0;
|
|
|
}
|
|
|
}
|