From 711a20dcbf35c3fefc629c62016e93547c3b7762 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 8 Apr 2020 15:10:19 +0200 Subject: 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 --- patchelf.1 | 3 ++- src/patchelf.cc | 2 +- 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()); } -- cgit v0.12