summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-03-28 09:56:12 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-03-28 09:56:12 +0900
commit70489b4f75c0afcb1b5c65e579b231d8f657b8c6 (patch)
treec55fbe7c79cd1a6417a9dae321cfdd7c66fa9d4e /doc
parent8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6 (diff)
downloadlibgpg-error-70489b4f75c0afcb1b5c65e579b231d8f657b8c6.tar.gz
yat2m: Only emit a message of the page with --verbose option.
* doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/yat2m.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 10e03ec..8c05ad8 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -1323,7 +1323,8 @@ finish_page (void)
}
else if (opt_store)
{
- inf ("writing '%s'", thepage.name );
+ if (verbose)
+ inf ("writing '%s'", thepage.name );
fp = fopen ( thepage.name, "w" );
if (!fp)
die ("failed to create '%s': %s\n", thepage.name, strerror (errno));