pkgman [un]install: fix option '-H'

This commit is contained in:
Ingo Weinhold 2013-08-25 18:41:29 +02:00
parent e64db4da44
commit f118c41467
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;