Finally implemented the -q command

This commit is contained in:
Michael 2021-02-06 16:26:42 -06:00
parent 39e38f50ac
commit 28f25251b3

View file

@ -65,9 +65,6 @@ namespace Sharpii
case "-LOTS": case "-LOTS":
BeQuiet.quiet = 3; BeQuiet.quiet = 3;
break; break;
case "-NOLOG":
Logging.log = 0;
break;
} }
} }
@ -229,23 +226,14 @@ public class DeleteADir
} }
public class BeQuiet public class BeQuiet
{ {
//1 = little //Little output = 1;
//2 = normal //Normal output = 2;
//3 = lots //Lots of output = 3;
public static int quiet = 2; public static int quiet = 2;
} }
public class ProgramVersion public class ProgramVersion
{ {
public static string version = "1.1.4; .Net Core Port (Based on Sharpii 1.7.3)"; public static string version = "1.1.5; .Net Core Port (Based on Sharpii 1.7.3)";
}
public class Logging
{
//By default, Sharpii should create a log.
//Using the option -NoLog will disable it.
//Everything should check this when it checks the BeQuiet.Quiet variable.
//This isn't used yet.
public static int log = 1;
} }
public static class OperatingSystem public static class OperatingSystem