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;
|
||||
argv += optind;
|
||||
|
||||
if (argc == optind || (!argc && !opmode)) {
|
||||
if (!argc && !opmode) {
|
||||
usage(true);
|
||||
} else if (!opmode) {
|
||||
/* show mode by default */
|
||||
|
Loading…
x
Reference in New Issue
Block a user