aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-20 14:35:14 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-02-20 14:35:16 +0300
commit3181eff6191a10fd72f7ddaea5955dc0fbbc3be8 (patch)
tree3e7de23c19fc56bcee1a5a88c396ef898a5f2e51
parent4a77648331df2c5fb71c8ae7bdd33b7443bd4db5 (diff)
isxbpscommand: add xbps-query
-rw-r--r--utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index e6dd37f..3658969 100644
--- a/utils.c
+++ b/utils.c
@@ -119,7 +119,8 @@ bool isxbpscommand(const char *s)
const char *commands[] = {
"/xbps-install",
"/xbps-remove",
- "/xbps-reconfigure"
+ "/xbps-reconfigure",
+ "/xbps-query"
};
for (size_t i = 0; i < ARRAY_SIZE(commands); i++) {
const char *command = commands[i];