This commit is contained in:
Michiel Hazelhof 2024-03-31 12:01:36 +02:00
parent 0cbdd890c3
commit 43f2a98c17
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF

View File

@ -45,8 +45,8 @@ internal class Program
{ {
if (!VerifyTopOptions()) if (!VerifyTopOptions())
{ {
if (!CoreExists()) config.Error.WriteLine($"Cant find core dll at: {coreDll.Value()}"); if (!CoreExists()) config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
if (!CertExists()) config.Error.WriteLine($"Cant find certificate at: {cert.Value()}"); if (!CertExists()) config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
config.ShowHelp(); config.ShowHelp();
return 1; return 1;
@ -173,7 +173,6 @@ internal class Program
return 0; return 0;
}); });
}); });
app.Command("user", config => app.Command("user", config =>
{ {
CommandArgument name = config.Argument("Name", "your name"); CommandArgument name = config.Argument("Name", "your name");
@ -188,11 +187,11 @@ internal class Program
{ {
if (!CoreExists()) if (!CoreExists())
{ {
config.Error.WriteLine($"Cant find core dll at: {coreDll.Value()}"); config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
} }
if (!CertExists()) if (!CertExists())
{ {
config.Error.WriteLine($"Cant find certificate at: {cert.Value()}"); config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
} }
config.ShowHelp(); config.ShowHelp();
@ -246,11 +245,11 @@ internal class Program
{ {
if (!CoreExists()) if (!CoreExists())
{ {
config.Error.WriteLine($"Cant find core dll at: {coreDll.Value()}"); config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
} }
if (!CertExists()) if (!CertExists())
{ {
config.Error.WriteLine($"Cant find certificate at: {cert.Value()}"); config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
} }
config.ShowHelp(); config.ShowHelp();