diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-20 16:29:50 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-11-20 16:29:50 +0000 |
commit | f58ce4bef2800a6b3fe1b7a02e1a842cbf97aa3d (patch) | |
tree | 2d3fc8013455fcf6b65528334d6ca4080859a10e /mandocdb.c | |
parent | afde6cd162c77758617c4f2a82cda0ffaa96711c (diff) | |
download | mandoc-f58ce4bef2800a6b3fe1b7a02e1a842cbf97aa3d.tar.gz |
Clarify some behaviour, bringing schwarze@'s patch and mine closer together
(although I still don't have -M, which is a big piece).
First, the default search path is the cwd. This will change to use -M
once I look over that code.
If MANPATH is specified, this replaces the cwd.
Both of these are augmented by -m.
If paths don't exist or don't have databases, they're silently ignored.
This makes perfect sense: you may be given a superset of possible paths.
The corner case of no paths (where, say, MANPATH consists of bogus paths
or the cwd is unreadable) simply means that no paths are searched.
Diffstat (limited to 'mandocdb.c')
0 files changed, 0 insertions, 0 deletions