From 139a035d1cbf0756db397565bf8ec11ded63fecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 16 Apr 2018 11:31:21 +0200 Subject: vis-menu: use distinct error code upon cancelling selection The following exit statuses are used: 0 an item was successfully selected 1 the selection was cancelled >1 failure, some error occured --- man/vis-menu.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/vis-menu.1 b/man/vis-menu.1 index cef71f2..992573d 100644 --- a/man/vis-menu.1 +++ b/man/vis-menu.1 @@ -214,7 +214,8 @@ and 1 if the user cancelled. If an internal error occurs, the .Nm vis-menu -utility prints a message to standard error and exits 1. +utility prints a message to standard error and terminates with an exit +status greater than 1. Potential error conditions include being unable to allocate memory, being unable to read from standard input, -- cgit v1.2.3