diff options
-rw-r--r-- | patchelf.1 | 4 | ||||
-rw-r--r-- | src/patchelf.cc | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. diff --git a/src/patchelf.cc b/src/patchelf.cc index 6359a04..dcbfd38 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -1444,7 +1444,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; } |