Applied codestyle to all .cs files

This commit is contained in:
Kwoth
2021-12-29 06:07:16 +01:00
parent 723447c7d4
commit 82000c97a4
543 changed files with 13221 additions and 14059 deletions

View File

@@ -1,4 +1,4 @@
#nullable disable
#nullable disable
using CommandLine;
namespace NadekoBot.Common;
@@ -13,13 +13,12 @@ public static class OptionsParser
where T : INadekoCommandOptions
{
using var p = new Parser(x =>
{
x.HelpWriter = null;
}
);
{
x.HelpWriter = null;
});
var res = p.ParseArguments<T>(args);
options = res.MapResult(x => x, x => options);
options.NormalizeOptions();
return (options, res.Tag == ParserResultType.Parsed);
}
}
}