forked from amkovkov/GranuSightSoftware2
fix: typos
TOO many typos
This commit is contained in:
+12
-12
@@ -79,23 +79,23 @@ public partial class Program
|
||||
Description = "Output image file",
|
||||
DefaultValueFactory = (_) => new FileInfo("image.png")
|
||||
};
|
||||
private static readonly Option<double> _captureIntencityWhite = new("--intencity-white")
|
||||
private static readonly Option<double> _captureIntensityWhite = new("--intensity-white")
|
||||
{
|
||||
Description = "Illuminator intencity for white (from 0 to 1)",
|
||||
Description = "Illuminator intensity for white (from 0 to 1)",
|
||||
DefaultValueFactory = (_) => 1
|
||||
};
|
||||
private static readonly Option<double> _captureIntencityUv365nm = new("--intencity-uv365nm")
|
||||
private static readonly Option<double> _captureIntensityUv365nm = new("--intensity-uv365nm")
|
||||
{
|
||||
Description = "Illuminator intencity for UV 365 nm (from 0 to 1)",
|
||||
Description = "Illuminator intensity for UV 365 nm (from 0 to 1)",
|
||||
DefaultValueFactory = (_) => 0
|
||||
};
|
||||
private static readonly Option<double> _captureIntencityUv254nm = new("--intencity-uv254nm")
|
||||
private static readonly Option<double> _captureIntensityUv254nm = new("--intensity-uv254nm")
|
||||
{
|
||||
Description = "Illuminator intencity for UV 254 nm (from 0 to 1)",
|
||||
Description = "Illuminator intensity for UV 254 nm (from 0 to 1)",
|
||||
DefaultValueFactory = (_) => 0
|
||||
};
|
||||
|
||||
private static readonly Command _imageStorageClearCommand = new("image-storage-clear")
|
||||
private static readonly Command _imageStorageClear = new("image-storage-clear")
|
||||
{
|
||||
Description = "Clear image storage from unused images"
|
||||
};
|
||||
@@ -126,12 +126,12 @@ public partial class Program
|
||||
_rootCommand.Add(_captureCommand);
|
||||
_captureCommand.SetAction(Capture);
|
||||
_captureCommand.Add(_captureOutputFile);
|
||||
_captureCommand.Add(_captureIntencityWhite);
|
||||
_captureCommand.Add(_captureIntencityUv365nm);
|
||||
_captureCommand.Add(_captureIntencityUv254nm);
|
||||
_captureCommand.Add(_captureIntensityWhite);
|
||||
_captureCommand.Add(_captureIntensityUv365nm);
|
||||
_captureCommand.Add(_captureIntensityUv254nm);
|
||||
|
||||
_rootCommand.Add(_imageStorageClearCommand);
|
||||
_imageStorageClearCommand.SetAction(ImageStorageClear);
|
||||
_rootCommand.Add(_imageStorageClear);
|
||||
_imageStorageClear.SetAction(ImageStorageClear);
|
||||
|
||||
Console.CancelKeyPress += new ConsoleCancelEventHandler(OnProgramShutdown);
|
||||
Console.WriteLine("Press Ctrl+C to shut down.");
|
||||
|
||||
Reference in New Issue
Block a user