aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorforever2k38 <forever2k38@noreply.codeberg.org>2026-08-31 18:04:28 +0200
committerforever2k38 <forever2k38@noreply.codeberg.org>2026-08-31 18:04:28 +0200
commita2cb6e5b16bd8f5eddd778f813f3a9068be44e46 (patch)
treef3edb47bdb23ea06ee978cf1e346975c51e853f9 /src/main.c
parente99dfda0f30a97fc7824a745c427f80553b5b5ef (diff)
fix: add no command specified message
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
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);