diff options
Diffstat (limited to 'pkgs/profpatsch/nman')
-rw-r--r-- | pkgs/profpatsch/nman/nman.1 | 2 | ||||
-rw-r--r-- | pkgs/profpatsch/nman/nman.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/profpatsch/nman/nman.1 b/pkgs/profpatsch/nman/nman.1 index c6255827..b686b931 100644 --- a/pkgs/profpatsch/nman/nman.1 +++ b/pkgs/profpatsch/nman/nman.1 @@ -155,7 +155,7 @@ Success. .It 1 An expected error like a man page not being found or the requested package not existing. -.It 64 +.It 100 An usage error, indicating the user is invoking .Nm wrong. diff --git a/pkgs/profpatsch/nman/nman.rs b/pkgs/profpatsch/nman/nman.rs index 6cb5f54c..1672e449 100644 --- a/pkgs/profpatsch/nman/nman.rs +++ b/pkgs/profpatsch/nman/nman.rs @@ -37,8 +37,8 @@ impl NmanError<'_> { NmanError::Instantiate(_, _) => 1, // missing executable NmanError::Execution(_) => 127, - // user error, EX_USAGE (sysexits.h) - NmanError::Usage => 64, + // user error + NmanError::Usage => 100, // everything else is an unexpected error _ => 101 } |