xbps-query: fix fallout due to no_argument -> required_argument changes.
This commit is contained in:
parent
0ffc536b48
commit
ca8619dd57
@ -71,7 +71,7 @@ usage(bool fail)
|
|||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
const char *shortopts = "C:c:dfhHLlmOo:p:Rr:s:S:VvXx";
|
const char *shortopts = "C:c:df:hHLlmOo:p:Rr:s:S:VvX:x:";
|
||||||
const struct option longopts[] = {
|
const struct option longopts[] = {
|
||||||
{ "config", required_argument, NULL, 'C' },
|
{ "config", required_argument, NULL, 'C' },
|
||||||
{ "cachedir", required_argument, NULL, 'c' },
|
{ "cachedir", required_argument, NULL, 'c' },
|
||||||
|
Loading…
Reference in New Issue
Block a user