diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-11 09:44:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-11 09:44:07 +0000 |
commit | f37ec6d0eca54e78591941710bf176d838010944 (patch) | |
tree | 4af002b6d9e2b7158b2b279a522cec66eac319a4 | |
parent | 064a66113ee85e7a39a0909c10bfc8463d54ba83 (diff) | |
download | mandoc-f37ec6d0eca54e78591941710bf176d838010944.tar.gz |
Use mandoc.1's error codes (we use them internally).
-rw-r--r-- | makewhatis.1 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/makewhatis.1 b/makewhatis.1 index ba2a0ed5..68332858 100644 --- a/makewhatis.1 +++ b/makewhatis.1 @@ -146,7 +146,24 @@ A database of indexed file-names. .El .Sh EXIT STATUS -.Ex -std +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -compact +.It 0 +No errors occurred. +.It 5 +Invalid command line arguments were specified. +No input files have been read. +.It 6 +An operating system error occurred, for example memory exhaustion or an +error accessing input files. +Such errors cause +.Nm +to exit at once, possibly in the middle of parsing or formatting a file. +The output databases are corrupt and should be removed . +.El .Sh SEE ALSO .Xr mandoc 1 .Sh AUTHORS |