xbps-query: fix fallout due to no_argument -> required_argument changes.

This commit is contained in:
Juan RP 2014-05-26 18:05:30 +02:00
parent 0ffc536b48
commit ca8619dd57

View File

@ -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' },