diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2018-06-12 06:53:31 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2018-06-12 06:53:31 +0000 |
commit | c8aa5e526fc02c360b09718a7dcb5db1876dca05 (patch) | |
tree | 2a390496d03ac01ff7d2f6489d97d18a5bbcbc6c /share/doc/papers/sysperf | |
parent | 1bb577b4c2d77d9197b4660d50476d1399b75a83 (diff) |
top(1): move command mapping to commands.c
This eliminates the difficult to follow mapping of a string list. It
moves numbers from "#define" into (more) debuggable enums. More
generally, it follows the trend of moving more data into a more central
mechanism.
The help output is a little worse: " " is not rendered well, and there
are duplicate entries, but that will be fixed in a followup.
Notes
Notes:
svn path=/head/; revision=334988
Diffstat (limited to 'share/doc/papers/sysperf')
0 files changed, 0 insertions, 0 deletions