From ebe3087b0db358b4ac4e5650bfcde9f5c3ca66e2 Mon Sep 17 00:00:00 2001 From: David Sveningsson Date: Tue, 17 Dec 2013 21:03:47 +0100 Subject: support -h in addition to --help --- src/patchelf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patchelf.cc b/src/patchelf.cc index 1b7e510..826f78f 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -1219,7 +1219,7 @@ int main(int argc, char * * argv) else if (arg == "--debug") { debugMode = true; } - else if (arg == "--help") { + else if (arg == "--help" || arg == "-h" ) { showHelp(argv[0]); return 0; } -- cgit v0.12 From efa358ec92c443b35f1b1406ae3e918bb8989ca1 Mon Sep 17 00:00:00 2001 From: David Sveningsson Date: Tue, 17 Dec 2013 21:05:16 +0100 Subject: Add --remove-needed to manpage. --- patchelf.1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patchelf.1 b/patchelf.1 index 4865256..f0cdd9f 100644 --- a/patchelf.1 +++ b/patchelf.1 @@ -47,6 +47,10 @@ Prints the RPATH for an executable or library. Forces the use of the obsolete DT_RPATH in the file instead of DT_RUNPATH. By default DT_RPATH is converted to DT_RUNPATH. +.IP --remove-needed +Remove declared dependencies on dynamic libraries (DT_NEEDED +entries) + .IP --debug Prints details of the changes made to the input file. -- cgit v0.12