diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-10-10 13:30:06 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-10-10 13:30:06 -0400 |
commit | 1317f9a59a3e42ec75814bf27cb0551967f273b0 (patch) | |
tree | e20d17d0eb454d7485ecdbd016cdb9a00faff558 | |
parent | scripts/revdep-pax: move option actions to functions (diff) | |
download | elfix-1317f9a59a3e42ec75814bf27cb0551967f273b0.tar.gz elfix-1317f9a59a3e42ec75814bf27cb0551967f273b0.tar.bz2 elfix-1317f9a59a3e42ec75814bf27cb0551967f273b0.zip |
scripts/revdep-pax: add help
-rwxr-xr-x | scripts/revdep-pax | 13 |
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() |