aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-03-28 00:56:12 +0000
committerNIIBE Yutaka <[email protected]>2022-03-28 00:56:12 +0000
commit70489b4f75c0afcb1b5c65e579b231d8f657b8c6 (patch)
treec55fbe7c79cd1a6417a9dae321cfdd7c66fa9d4e
parentw32: Fix for MinGW which doesn't define EOPNOTSUPP. (diff)
downloadlibgpg-error-70489b4f75c0afcb1b5c65e579b231d8f657b8c6.tar.gz
libgpg-error-70489b4f75c0afcb1b5c65e579b231d8f657b8c6.zip
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 <[email protected]>
-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));