summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-04-08 13:10:19 (GMT)
committerPau Espin Pedrol <pespin@sysmocom.de>2020-04-08 13:10:22 (GMT)
commit711a20dcbf35c3fefc629c62016e93547c3b7762 (patch)
treee71c8c16a791ef8e5b1e0fa08436695a8b435e35
parentcd7955af31698c571c30b7a0f78e59fd624d0229 (diff)
downloadpatchelf-711a20dcbf35c3fefc629c62016e93547c3b7762.zip
patchelf-711a20dcbf35c3fefc629c62016e93547c3b7762.tar.gz
patchelf-711a20dcbf35c3fefc629c62016e93547c3b7762.tar.bz2
Update doc to describe multiple filename args allowed
Commit 936bae418b77ee9e06a93cd3cd444f4204446973 added support to handle several files at once, but forgot to update the man and help output to describe it. Fixes: 936bae418b77ee9e06a93cd3cd444f4204446973
-rw-r--r--patchelf.13
-rw-r--r--src/patchelf.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/patchelf.1 b/patchelf.1
index 43a5d24..a51f726 100644
--- a/patchelf.1
+++ b/patchelf.1
@@ -10,6 +10,7 @@ patchelf - Modify ELF files
.I OPTION
.B
.I FILE
+.SM ...
.B
.SH DESCRIPTION
@@ -20,7 +21,7 @@ of executables and change the RPATH of executables and libraries.
.SH OPTIONS
-The single option given operates on a given FILE, editing in place.
+The single option given operates on each FILE, editing in place.
.IP "--page-size SIZE"
Uses the given page size instead of the default.
diff --git a/src/patchelf.cc b/src/patchelf.cc
index 0b4965a..f7643d0 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -1646,7 +1646,7 @@ void showHelp(const std::string & progName)
[--no-default-lib]\n\
[--debug]\n\
[--version]\n\
- FILENAME\n", progName.c_str());
+ FILENAME...\n", progName.c_str());
}