aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-10-10 13:30:06 -0400
committerAnthony G. Basile <blueness@gentoo.org>2011-10-12 06:47:47 -0400
commit5af2834148d2d074a79c5fc390cbfd85bf9e16c5 (patch)
treee7281e415399b70ce03dec27d0c6598059c733bb /scripts/revdep-pax
parentscripts/revdep-pax: move option actions to functions (diff)
downloadelfix-5af2834148d2d074a79c5fc390cbfd85bf9e16c5.tar.gz
elfix-5af2834148d2d074a79c5fc390cbfd85bf9e16c5.tar.bz2
elfix-5af2834148d2d074a79c5fc390cbfd85bf9e16c5.zip
scripts/revdep-pax: add help
Diffstat (limited to 'scripts/revdep-pax')
-rwxr-xr-xscripts/revdep-pax13
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/revdep-pax b/scripts/revdep-pax
index 26334c7..bdf6004 100755
--- a/scripts/revdep-pax
+++ b/scripts/revdep-pax
@@ -137,7 +137,18 @@ def print_reverse_linkings( reverse_linkings, so2filename_mappings ):
def usage():
- print 'TODO'
+ print 'Package Name : elfix\n'
+ print 'Bug Reports : http://bugs.gentoo.org/'
+ print 'Program Name : revdep-pax\n'
+ print 'Description : Get or set pax flags on an ELF object\n\n'
+ print 'Usage : revdep-pax [-fv] | [-rv] | -v [-b BINARY] | -v [-s SONAME] | -h\n\n'
+ print 'Options : -f print out all the forward mappings for all system binaries\n'
+ print ' : -r print out all the reverse mappints for all system sonames\n'
+ print ' : -b BINARY print all the forward mappings only for BINARY\n'
+ print ' : -s SONAME print all the reverse mappings only for SONAME\n'
+ print ' : -v verbose, otherwise just print mismatched pax flags \n'
+ print ' : -h print out this help\n\n'
+
def run_forward():
( forward_linkings, so2filename_mappings ) = get_forward_linkings()