Fix exit code overflow for unhandled exceptions on Unix systems (#62)

This commit is contained in:
Ihor Nechyporuk
2020-07-19 16:50:37 +03:00
committed by GitHub
parent ac83233dc2
commit 004f906148
4 changed files with 32 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ namespace CliFx.Tests
private class CommandExceptionCommand : ICommand
{
[CommandOption("code", 'c')]
public int ExitCode { get; set; } = 1337;
public int ExitCode { get; set; } = 133;
[CommandOption("msg", 'm')]
public string? Message { get; set; }