aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-03-21 14:14:03 +0000
committerEd Maste <emaste@FreeBSD.org>2023-03-21 14:14:03 +0000
commite9f8723c30fc390f1282f5286d57c090ed9e5925 (patch)
tree178a4ccc89d2c6d875d2ad45eea1065e188369d1
parent14f102eacc8434a5a1f96466752578a4167140c9 (diff)
downloadsrc-e9f8723c30fc390f1282f5286d57c090ed9e5925.tar.gz
src-e9f8723c30fc390f1282f5286d57c090ed9e5925.zip
-rw-r--r--usr.bin/ldd/ldd.14
-rw-r--r--usr.bin/ldd/ldd.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1
index 47a7fff9f778..1e4ccf441c53 100644
--- a/usr.bin/ldd/ldd.1
+++ b/usr.bin/ldd/ldd.1
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
-.Dd August 28, 2021
+.Dd March 21, 2023
.Dt LDD 1
.Os
.Sh NAME
@@ -9,7 +9,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl a
-.Op Fl f Ar format
+.Op Fl f Ar format Op Fl f Ar format
.Ar program ...
.Sh DESCRIPTION
The
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c
index 2cd2a4c72324..4f5555e34610 100644
--- a/usr.bin/ldd/ldd.c
+++ b/usr.bin/ldd/ldd.c
@@ -260,7 +260,8 @@ static void
usage(void)
{
- fprintf(stderr, "usage: ldd [-a] [-f format] program ...\n");
+ fprintf(stderr,
+ "usage: ldd [-a] [-f format [-f format]] program ...\n");
exit(1);
}