aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-12 06:53:31 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-12 06:53:31 +0000
commitc8aa5e526fc02c360b09718a7dcb5db1876dca05 (patch)
tree2a390496d03ac01ff7d2f6489d97d18a5bbcbc6c /usr.bin/indent
parent1bb577b4c2d77d9197b4660d50476d1399b75a83 (diff)
downloadsrc-c8aa5e526fc02c360b09718a7dcb5db1876dca05.tar.gz
src-c8aa5e526fc02c360b09718a7dcb5db1876dca05.zip
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 'usr.bin/indent')
0 files changed, 0 insertions, 0 deletions