From dfe42ce7e3ba77b55a9dc9084b082b56c7650d1c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Mar 2013 20:23:13 +0100 Subject: [PATCH] xbps-query: -p expects an argument; show usage() otherwise. --- bin/xbps-query/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-query/main.c b/bin/xbps-query/main.c index dd29d324..7ff0924e 100644 --- a/bin/xbps-query/main.c +++ b/bin/xbps-query/main.c @@ -139,7 +139,7 @@ main(int argc, char **argv) break; case 'p': props = optarg; - show_prop = true; + show_prop = opmode = true; break; case 'R': repo_mode = true;