summaryrefslogtreecommitdiff
path: root/hyprpm/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprpm/src/main.cpp')
-rw-r--r--hyprpm/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprpm/src/main.cpp b/hyprpm/src/main.cpp
index ca9c0fdb..b8bf8bca 100644
--- a/hyprpm/src/main.cpp
+++ b/hyprpm/src/main.cpp
@@ -106,7 +106,7 @@ int main(int argc, char** argv, char** envp) {
return g_pPluginManager->addNewPluginRepo(command[1], rev) ? 0 : 1;
} else if (command[0] == "remove") {
- if (ARGS.size() < 2) {
+ if (command.size() < 2) {
std::println(stderr, "{}", failureString("Not enough args for remove."));
return 1;
}