aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-04-16 11:31:21 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-02-10 10:05:21 +0100
commit139a035d1cbf0756db397565bf8ec11ded63fecc (patch)
treed28dc6d005ba5a66102694358e901d5d6264e297 /man
parentbc5488644e4803e86e5937a14a3b73724afb196b (diff)
downloadvis-139a035d1cbf0756db397565bf8ec11ded63fecc.tar.gz
vis-139a035d1cbf0756db397565bf8ec11ded63fecc.tar.xz
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
Diffstat (limited to 'man')
-rw-r--r--man/vis-menu.13
1 files changed, 2 insertions, 1 deletions
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,