commit 9ad5ca5a1523adb84efcb9d5302bb19e1692d539
parent 814b04e71076abe67af66766b1216ed4974c4c21
Author: Daniel Bainton <dpb@driftaway.org>
Date: Mon, 5 May 2014 11:05:01 +0300
Add breaks to the sha*sum arg cases
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sha1sum.c b/sha1sum.c
@@ -29,6 +29,7 @@ main(int argc, char *argv[])
ARGBEGIN {
case 'c':
checkfile = EARGF(usage());
+ break;
default:
usage();
} ARGEND;
diff --git a/sha256sum.c b/sha256sum.c
@@ -29,6 +29,7 @@ main(int argc, char *argv[])
ARGBEGIN {
case 'c':
checkfile = EARGF(usage());
+ break;
default:
usage();
} ARGEND;
diff --git a/sha512sum.c b/sha512sum.c
@@ -29,6 +29,7 @@ main(int argc, char *argv[])
ARGBEGIN {
case 'c':
checkfile = EARGF(usage());
+ break;
default:
usage();
} ARGEND;