diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-16 17:55:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-16 17:55:39 +0000 |
commit | 32108324613edf7b16adab9f3f5ebfc4afda1778 (patch) | |
tree | dac072dbc543ed85ad7d7a75f73ad0b33606e480 /man_term.c | |
parent | b1cb710d98e936ddd40b4e26194b8def7d042c5a (diff) | |
download | mandoc-32108324613edf7b16adab9f3f5ebfc4afda1778.tar.gz |
Instead of a series of hard-coded strcmps, make argv_a2arg() iterate
over an array of possible argument types, hooking in to mdoc_argnames[].
This knocks off bytes for the duplicated strings and cleans up code
readability.
Diffstat (limited to 'man_term.c')
0 files changed, 0 insertions, 0 deletions