aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2ff924d..5e3c4b5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -523,7 +523,7 @@ static void ftag_file_add(int argc, char **argv)
}
}
- if (argc - optind == 1) {
+ if (argc - optind == 0) {
ftag_file_add_usage();
exit(EXIT_FAILURE);
}