diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-12-25 18:13:43 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-12-25 18:13:43 +0100 |
| commit | 0f927065eca05a73f795863196c1ca14c7540fac (patch) | |
| tree | 91be1abb0897e97bcb5f501e3f082067cf7f06c0 | |
| parent | 31e2bb48ce0d139c318e0d6ef0b8048276172a68 (diff) | |
Improve ftag file add help message
| -rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
