From a2cb6e5b16bd8f5eddd778f813f3a9068be44e46 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Mon, 31 Aug 2026 18:04:28 +0200 Subject: fix: add no command specified message --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index 67ba153..73617ef 100644 --- a/src/main.c +++ b/src/main.c @@ -23,6 +23,10 @@ int main(int argc, char *argv[]) { repo_check_package(config.repos, config.repos_count, "samurai"); } + if (args.flags == 0) { + printf("no command specified\n"); + } + pow_close_config(&config); fflush(stdout); -- cgit v1.3