From f118c41467a62881ec1ae0ba61fecbbc43cf4048 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 25 Aug 2013 18:41:29 +0200 Subject: [PATCH] pkgman [un]install: fix option '-H' --- src/bin/pkgman/command_install.cpp | 2 +- src/bin/pkgman/command_uninstall.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pkgman/command_install.cpp b/src/bin/pkgman/command_install.cpp index b0e3134856..09d8748b7a 100644 --- a/src/bin/pkgman/command_install.cpp +++ b/src/bin/pkgman/command_install.cpp @@ -55,7 +55,7 @@ InstallCommand::Execute(int argc, const char* const* argv) }; opterr = 0; // don't print errors - int c = getopt_long(argc, (char**)argv, "hu", sLongOptions, NULL); + int c = getopt_long(argc, (char**)argv, "hH", sLongOptions, NULL); if (c == -1) break; diff --git a/src/bin/pkgman/command_uninstall.cpp b/src/bin/pkgman/command_uninstall.cpp index 0aa4305a43..31d486f474 100644 --- a/src/bin/pkgman/command_uninstall.cpp +++ b/src/bin/pkgman/command_uninstall.cpp @@ -55,7 +55,7 @@ UninstallCommand::Execute(int argc, const char* const* argv) }; opterr = 0; // don't print errors - int c = getopt_long(argc, (char**)argv, "hu", sLongOptions, NULL); + int c = getopt_long(argc, (char**)argv, "hH", sLongOptions, NULL); if (c == -1) break;