Skip to content

Commit

Permalink
make module list available via --help
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljon committed May 18, 2022
1 parent d9562ce commit 51c11de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ private static void Main(string[] args)
.WithNotParsed(errs => DisplayHelp(parserResult, errs));
}

static void DisplayHelp<T>(ParserResult<T> result, IEnumerable<Error> errs)
static void DisplayHelp<T>(ParserResult<T> result, IEnumerable<Error> _)
{
var moduleList = ModuleFactory.ModuleMap;
var sb = new StringBuilder("List of available modules:").AppendLine();
var sb = new StringBuilder("List of available modules for --modules:").AppendLine();

foreach (var module in moduleList)
{
Expand Down

0 comments on commit 51c11de

Please sign in to comment.