summaryrefslogtreecommitdiffstats
path: root/usr.bin/brandelf/brandelf.1
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2000-01-04 02:33:54 +0000
committerwes <wes@FreeBSD.org>2000-01-04 02:33:54 +0000
commit24d00c85e402d3980b152dd5f762e5e2f8e7b26a (patch)
treea7c7cf3572396f67ece315a0e45cdb92c6daa398 /usr.bin/brandelf/brandelf.1
parent6af7f84af3fa2c3783aee573c4fe82ea78bd0e17 (diff)
downloadFreeBSD-src-24d00c85e402d3980b152dd5f762e5e2f8e7b26a.zip
FreeBSD-src-24d00c85e402d3980b152dd5f762e5e2f8e7b26a.tar.gz
Make brandelf explain itself a little better on error.
Also, at Boris' suggestion, add -l option to list known ELF types. PR: bin/15285 Reviewed by: bp
Diffstat (limited to 'usr.bin/brandelf/brandelf.1')
-rw-r--r--usr.bin/brandelf/brandelf.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/brandelf/brandelf.1 b/usr.bin/brandelf/brandelf.1
index 2c4e820..c7d69b3 100644
--- a/usr.bin/brandelf/brandelf.1
+++ b/usr.bin/brandelf/brandelf.1
@@ -36,6 +36,7 @@
.Sh SYNOPSIS
.Nm brandelf
.Op Fl f
+.Op Fl l
.Op Fl v
.Op Fl t Ar string
.Ar file ...
@@ -48,6 +49,8 @@ The options are as follows:
.It Fl f
forces branding even if the brand requested is unknown, and disables
warnings for unknown brands.
+.It Fl l
+lists all known ELF types on the standard error channel.
.It Fl v
turns on verbose reporting
.It Fl t Ar string
@@ -78,7 +81,7 @@ command:
.Sh DIAGNOSTICS
Exit status is 0 on success, and 1 if the command
fails if a file doesn't exist, is too short, fails to brand properly,
-or the brand requested is not 'Linux' or 'FreeBSD' and the
+or the brand requested is not one of the known types and the
.Fl f
option is not set.
.Sh HISTORY
OpenPOWER on IntegriCloud