From 218f70cff8f6ce6108fa84252d95062bc0951bd6 Mon Sep 17 00:00:00 2001 From: niklas Date: Tue, 7 Jan 1997 15:57:48 +0000 Subject: [PATCH] Document the exit values --- usr.bin/which/which.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1 index 5eb92a3cc99..16170693ddc 100644 --- a/usr.bin/which/which.1 +++ b/usr.bin/which/which.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: which.1,v 1.2 1996/06/26 05:42:58 deraadt Exp $ +.\" $OpenBSD: which.1,v 1.3 1997/01/07 15:57:48 niklas Exp $ .\" Copyright (c) 1980, 1991 Regents of the University of California. .\" All rights reserved. .\" @@ -53,6 +53,18 @@ and searched for along the user's path. Both aliases and path are taken from the user's .Pa \&.cshrc file. +.Pp +The +.Nm which +utility exits with one of the following values: +.Bl -tag -width 4n +.It 0 +All names got successfully resolved. +.It 1 +Some names got resolved but not all. +.It 2 +No names got resolved. +.El .Sh FILES .Bl -tag -width ~/\&.cshrc .It Pa ~/\&.cshrc -- 2.20.1