diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-11 13:05:08 (GMT) |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-11 13:05:08 (GMT) |
commit | c246daeeeaea4febbaefbc2055ee17bc0904b9f0 (patch) | |
tree | 526c16adcc511bbb56785784a4a22edf85e2ed7e /src | |
parent | 07b8f2370672bd096e1fe5bd323f7e62792e724b (diff) | |
download | patchelf-c246daeeeaea4febbaefbc2055ee17bc0904b9f0.zip patchelf-c246daeeeaea4febbaefbc2055ee17bc0904b9f0.tar.gz patchelf-c246daeeeaea4febbaefbc2055ee17bc0904b9f0.tar.bz2 |
* `--interpreter' -> `--set-interpreter'.
Diffstat (limited to 'src')
-rw-r--r-- | src/patchelf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc index 851fdbb..28c442e 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc @@ -660,7 +660,7 @@ int main(int argc, char * * argv) { if (argc <= 1) { fprintf(stderr, "syntax: %s\n\ - [--interpreter FILENAME]\n\ + [--set-interpreter FILENAME]\n\ [--print-interpreter]\n\ [--set-rpath RPATH]\n\ [--shrink-rpath]\n\ @@ -675,7 +675,7 @@ int main(int argc, char * * argv) int i; for (i = 1; i < argc; ++i) { string arg(argv[i]); - if (arg == "--interpreter") { + if (arg == "--set-interpreter" || arg == "--interpreter") { if (++i == argc) error("missing argument"); newInterpreter = argv[i]; } |