]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r264823 (ed): Make usage printing more consistent with other tools.
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Sep 2016 21:14:00 +0000 (21:14 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Sep 2016 21:14:00 +0000 (21:14 +0000)
commit868251cd2ca582fe5a0a8d8252dacab9af8e79cd
tree0bd43baafefb64850d904d2f6ca19cf7737c992d
parent0ee633a675231377016399d2364ec9563316e994
MFC r264823 (ed): Make usage printing more consistent with other tools.

- Introduce a separate usage() function.
- Don't use argv[0]. Directly name the application, as we do elsewhere.
- Don't prepend the application name.
- Don't print two newlines.

Also apply the unnecessary semicolon cleanup from r298089

git-svn-id: svn://svn.freebsd.org/base/stable/10@306214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/bsdiff/bsdiff/bsdiff.c
usr.bin/bsdiff/bspatch/bspatch.c