summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patchelf.14
-rw-r--r--src/patchelf.cc2
2 files changed, 5 insertions, 1 deletions
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.
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;
}