summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-23 16:23:54 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:27 -0500
commit2a42e14f0eef84cfc98c629198f09c1d18f07f52 (patch)
tree265eae30522dcb2ab2e28133102f568081c9e5ac
parent7cd8bca5bbc93ed1352e02089d03c34a23609444 (diff)
downloadperk-2a42e14f0eef84cfc98c629198f09c1d18f07f52.tar.bz2
perk-2a42e14f0eef84cfc98c629198f09c1d18f07f52.tar.xz
argv_usage(): disable additional space for long items, but keep the logic.
-rw-r--r--src/internal/argv/argv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index 9f570ed..14146ed 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -699,11 +699,11 @@ static void argv_usage(
rdesclen = snprintf(buf,buflen,option->description,option->argname);
if (fnewline)
- fputc('\n',file);
+ (void)0;
if ((rparalen > paralen) || (rdesclen > desclen)) {
if (!fnewline) {
- fputc('\n',file);
+ (void)0;
fnewline = true;
}
} else