xbps-query: another argc fixup.
This commit is contained in:
parent
ca8619dd57
commit
91344451a3
@ -199,7 +199,7 @@ main(int argc, char **argv)
|
|||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
if (argc == optind || (!argc && !opmode)) {
|
if (!argc && !opmode) {
|
||||||
usage(true);
|
usage(true);
|
||||||
} else if (!opmode) {
|
} else if (!opmode) {
|
||||||
/* show mode by default */
|
/* show mode by default */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user