diff options
author | peter <peter@FreeBSD.org> | 1996-11-22 13:58:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-11-22 13:58:03 +0000 |
commit | ab076d3a60bcab6ef8a37e86b34d7fdff497a330 (patch) | |
tree | 33623882a5745c9fe600e15a34c50f574d52a429 /usr.bin/ldd/ldd.c | |
parent | f802c9787d3218fbc623bb2a74f3c5c430094dfb (diff) | |
download | FreeBSD-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/ldd.c')
-rw-r--r-- | usr.bin/ldd/ldd.c | 6 |
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); } |