aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2024-02-20 22:04:36 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2024-02-20 22:04:36 +0000
commit4db7ca24470576948e33f48033cfa5be2749950e (patch)
tree518377b44aa736cbf8cbb3622a78ba006c82963a
parente7308a60a5b77a1e4aff6e27eddef40fedabb98c (diff)
md5: Fix Perl mode long options.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: imp, allanjude, markj Differential Revision: https://reviews.freebsd.org/D43989
-rw-r--r--sbin/md5/md5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index b6405635a5a1..158769812819 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -263,7 +263,8 @@ static const char *gnu_shortopts = "bctwz";
static const struct option perl_longopts[] = {
{ "algorithm", required_argument, 0, opt_algorithm },
- { "check", required_argument, 0, opt_check },
+ { "binary", no_argument, 0, opt_binary },
+ { "check", no_argument, 0, opt_check },
{ "help", no_argument, 0, opt_help },
{ "ignore-missing", no_argument, 0, opt_ignore_missing },
{ "quiet", no_argument, 0, opt_quiet },