From 0f927065eca05a73f795863196c1ca14c7540fac Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Thu, 25 Dec 2025 18:13:43 +0100 Subject: Improve ftag file add help message --- src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 0dca7e5..9b17d54 100644 --- a/src/main.c +++ b/src/main.c @@ -381,16 +381,16 @@ static void ftag_file_add_usage(void) static void ftag_file_add_help(void) { - printf("ftag file add: add files to the database.\n"); ftag_file_add_usage(); + printf("Add files to the database. Non-files arguments are ignored.\n"); printf("Available options (all options must precede arguments):\n"); printf(" -h print help message\n"); - printf(" -i interactive, ask before adding each file to the database\n"); + printf(" -i interactive, for each file, ask before adding it to the database\n"); printf("Tips:\n"); - printf(" For adding all files in a directory, use\n"); - printf(" ftag file add dir/*\n"); + printf(" For adding all files in a directory DIR, use\n"); + printf(" $ ftag file add -i DIR/*\n"); printf(" For doing it recursively, use\n"); - printf(" find dir -type f -print | xargs ftag file add"); + printf(" $ find DIR -type f -print | xargs ftag file add -i\n"); } /* Add new files to the database. If directories are given, every file in the -- cgit v1.2.3