diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-01-10 20:14:09 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-01-10 20:14:09 +0000 |
commit | 6c024c2780fbf7e07637165e0fa25cfbb08b77f9 (patch) | |
tree | fafc699ac41bcdef80a04b116e614dda2aafc901 /bin/md5/md5.c | |
parent | e0851b3df4e403d221e50fc99dc807cf7fefc439 (diff) |
catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here
ok deraadt
Diffstat (limited to 'bin/md5/md5.c')
-rw-r--r-- | bin/md5/md5.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bin/md5/md5.c b/bin/md5/md5.c index 5fc9e5ed9de..1b9e38a816b 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.66 2014/01/10 18:51:05 lteo Exp $ */ +/* $OpenBSD: md5.c,v 1.67 2014/01/10 20:14:08 jmc Exp $ */ /* * Copyright (c) 2001,2003,2005-2007,2010,2013,2014 @@ -816,16 +816,15 @@ usage(void) { #if !defined(SMALL) if (strcmp(__progname, "cksum") == 0 || strcmp(__progname, "sum") == 0) - fprintf(stderr, "usage: %s [-bpqrtx] [-a algorithms] " - "[-c [checklist ...]] [-h hashfile]\n" - " %*s [-o 1 | 2] [-s string] [file ...]\n", - __progname, (int)strlen(__progname), ""); + fprintf(stderr, "usage: %s [-bcpqrtx] [-a algorithms] " + "[-h hashfile] [-o 1 | 2] [-s string]\n" + " [file ...]\n", + __progname); else #endif /* !defined(SMALL) */ fprintf(stderr, "usage:" - "\t%s [-bprtx] [-h hashfile] [-s string] [file ...]\n" - "\t%s [-q] -c [checklist ...]\n", - __progname, __progname); + "\t%s [-bcpqrtx] [-h hashfile] [-s string] [file ...]\n", + __progname); exit(EXIT_FAILURE); } |