pkgman [un]install: fix option '-H'
This commit is contained in:
@@ -55,7 +55,7 @@ InstallCommand::Execute(int argc, const char* const* argv)
|
|||||||
};
|
};
|
||||||
|
|
||||||
opterr = 0; // don't print errors
|
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)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ UninstallCommand::Execute(int argc, const char* const* argv)
|
|||||||
};
|
};
|
||||||
|
|
||||||
opterr = 0; // don't print errors
|
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)
|
if (c == -1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user