summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-11-22 13:58:03 +0000
committerpeter <peter@FreeBSD.org>1996-11-22 13:58:03 +0000
commitab076d3a60bcab6ef8a37e86b34d7fdff497a330 (patch)
tree33623882a5745c9fe600e15a34c50f574d52a429 /usr.bin/ldd
parentf802c9787d3218fbc623bb2a74f3c5c430094dfb (diff)
downloadFreeBSD-src-ab076d3a60bcab6ef8a37e86b34d7fdff497a330.zip
FreeBSD-src-ab076d3a60bcab6ef8a37e86b34d7fdff497a330.tar.gz
make the Usage string match reality
Submitted by: faried nawaz <fn@uidaho.edu>, PR#2075
Diffstat (limited to 'usr.bin/ldd')
-rw-r--r--usr.bin/ldd/ldd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c
index cfa07a5..94c8889 100644
--- a/usr.bin/ldd/ldd.c
+++ b/usr.bin/ldd/ldd.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: ldd.c,v 1.7 1996/10/01 02:16:15 peter Exp $
+ * $Id: ldd.c,v 1.8 1996/10/29 18:45:20 peter Exp $
*/
#include <sys/types.h>
@@ -52,7 +52,9 @@ usage()
{
extern char *__progname;
- fprintf(stderr, "Usage: %s <filename> ...\n", __progname);
+ fprintf(stderr, "Usage: %s [-f format] [-v] <filename> ...\n",
+ __progname);
+
exit(1);
}
OpenPOWER on IntegriCloud