Fix NPE when Wasabi wallet is run with the following arguments: wassabee --help
MODIFY
WalletWasabi.Gui/CommandLine/CommandInterpreter.cs
WalletWasabi.Gui/CommandLine/CommandInterpreter.cs
@@ -22,7 +22,6 @@ namespace WalletWasabi.Gui.CommandLine
return true;
}
- OptionSet options = null;
var suite = new CommandSet("wassabee")
{
"Usage: wassabee [OPTIONS]+",
@@ -44,7 +43,7 @@ namespace WalletWasabi.Gui.CommandLine
}
if (showHelp)
{
- ShowHelp(options);
+ ShowHelp(suite.Options);
return false;
}
else if (showVersion)

Fix NPE when Wasabi wallet is run with the following arguments: wassabee --help