Skip to content

Commit

Permalink
Add suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: HebaruSan <HebaruSan@users.noreply.github.com>
  • Loading branch information
Olympic1 and HebaruSan authored Jul 10, 2020
1 parent b74f0bc commit d75ebff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Netkan/CmdLineOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal class CmdLineOptions
[Option("validate-ckan", HelpText = "Name of .ckan file to check for errors")]
public string ValidateCkan { get; set; }

[Value(0, Required = true, HelpText = "Name of .ckan file to process.")]
[Value(0, HelpText = "Name of .ckan file to process.")]
public string File { get; set; }
}
}
4 changes: 1 addition & 3 deletions Netkan/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static int Main(string[] args)
h.AddDashesToOption = true;
h.AutoHelp = false;
h.Heading = $"NetKAN {Meta.GetVersion(VersionFormat.Full)}";
h.Copyright = $"Copyright 2014-{DateTime.Now.Year}";
h.Copyright = $"Copyright © 2014-{DateTime.Now.Year}";
return HelpText.DefaultParsingErrorsHandler(parser, h);
}, e => e, true);
Console.WriteLine(ht);
Expand Down Expand Up @@ -82,8 +82,6 @@ private static int Run(CmdLineOptions options)
// This is on by default in .NET 4.6, but not in 4.5.
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;

// Make sure Curl is all set up
Curl.Init();

// Make sure Curl is all set up
Curl.Init();
Expand Down

0 comments on commit d75ebff

Please sign in to comment.