aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2023-05-22 12:02:41 +0200
committerGitHub <noreply@github.com>2023-05-22 12:02:41 +0200
commit9e157b5e1e426fafc9ab0791d6d5344731b1cc30 (patch)
treee65f46970d6a1672f7757b8e4d615ade375208b4
parent7761f5472cd68372227b3adabc49b2e0cad843ab (diff)
downloadflac-9e157b5e1e426fafc9ab0791d6d5344731b1cc30.tar.gz
Explain that --with-filename does not work with --export options
-rw-r--r--man/metaflac.md3
-rw-r--r--src/metaflac/usage.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/man/metaflac.md b/man/metaflac.md
index 5a7f8850..cc50e462 100644
--- a/man/metaflac.md
+++ b/man/metaflac.md
@@ -58,7 +58,8 @@ modification time is set to the current time):
**\--with-filename**
: Prefix each output line with the FLAC file name (the default if more
- than one FLAC file is specified).
+ than one FLAC file is specified). This option has no effect for
+ options exporting to a file, like --export-tags-to.
**\--no-filename**
: Do not prefix each output line with the FLAC file name (the default
diff --git a/src/metaflac/usage.c b/src/metaflac/usage.c
index 4690134b..eeea946e 100644
--- a/src/metaflac/usage.c
+++ b/src/metaflac/usage.c
@@ -62,7 +62,9 @@ static void usage_summary(FILE *out)
fprintf(out, "Options:\n");
fprintf(out, "--preserve-modtime Preserve the original modification time in spite of edits\n");
fprintf(out, "--with-filename Prefix each output line with the FLAC file name\n");
- fprintf(out, " (the default if more than one FLAC file is specified)\n");
+ fprintf(out, " (the default if more than one FLAC file is specified).\n");
+ fprintf(out, " This option has no effect for options exporting to a\n");
+ fprintf(out, " file, like --export-tags-to.\n");
fprintf(out, "--no-filename Do not prefix each output line with the FLAC file name\n");
fprintf(out, " (the default if only one FLAC file is specified)\n");
fprintf(out, "--no-utf8-convert Do not convert tags from UTF-8 to local charset,\n");