diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-01-27 00:24:18 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-02-03 13:58:38 -0500 |
commit | 054aabbe06c317b61742f2f807293d249d4c6afd (patch) | |
tree | 65b490e0dbb1c982cd8e9af6c77fae81c794129a /runtime/doc/manpages/it | |
parent | 7751cd21f5ae8952f578a0ccd892e32c95a4ae8a (diff) | |
download | rneovim-054aabbe06c317b61742f2f807293d249d4c6afd.tar.gz rneovim-054aabbe06c317b61742f2f807293d249d4c6afd.tar.bz2 rneovim-054aabbe06c317b61742f2f807293d249d4c6afd.zip |
main.c: usage() improvement
- Factor out main_msg() in favor of mch_msg() and manual indentation, as to
provide a much closer representation to the actual output of '--help'.
'gcc -E' reveals that main_msg() only consists of 3 printf calls
anyways.
- Factor out for loop used for printing top part of usage text; just
print the text normally.
usage() text:
- Don't print the version; that's what '--version' is for.
- Be consistent about nomenclature, e.g. '<arg>' denotes required
argument, '-h | --help' denotes '-h' and '--help' are equivalent, etc.
- Change some instances of vim{,rc,info} to nvim
Diffstat (limited to 'runtime/doc/manpages/it')
0 files changed, 0 insertions, 0 deletions