xbps-query: another argc fixup.
This commit is contained in:
1 parent
ca8619dd57
commit
91344451a3
1 file changed
+1
-1
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user