]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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:23:28 +0000 (21:23 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 22 Sep 2016 21:23:28 +0000 (21:23 +0000)
commit046b7bd43feb34ce7eaf5b01f54c700869edb89d
tree1542630aeb646f126277a841e044892553eac02c
parent870a4e7e981e27362a7185eaead24cec86c993e6
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/9@306217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/bsdiff/bsdiff/bsdiff.c
usr.bin/bsdiff/bspatch/bspatch.c