git: 4db7ca244705 - main - md5: Fix Perl mode long options.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Feb 2024 22:05:05 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=4db7ca24470576948e33f48033cfa5be2749950e
commit 4db7ca24470576948e33f48033cfa5be2749950e
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-02-20 22:04:36 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-02-20 22:04:36 +0000
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
---
sbin/md5/md5.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 },