summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sveningsson <ext@sidvind.com>2013-12-17 20:03:47 (GMT)
committerDavid Sveningsson <ext@sidvind.com>2013-12-17 20:03:47 (GMT)
commitebe3087b0db358b4ac4e5650bfcde9f5c3ca66e2 (patch)
tree7c0e2923bd64bcdb82202ebab41ce7f06797e510 /src
parent02c4ffa5550a3e35f62ae0bfed4c08812e66bf24 (diff)
downloadpatchelf-ebe3087b0db358b4ac4e5650bfcde9f5c3ca66e2.zip
patchelf-ebe3087b0db358b4ac4e5650bfcde9f5c3ca66e2.tar.gz
patchelf-ebe3087b0db358b4ac4e5650bfcde9f5c3ca66e2.tar.bz2
support -h in addition to --help
Diffstat (limited to 'src')
-rw-r--r--src/patchelf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index 1b7e510..826f78f 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -1219,7 +1219,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;
}