pkgman [un]install: fix option '-H'
This commit is contained in:
parent
e64db4da44
commit
f118c41467
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user