summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 08:29:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-02 08:29:25 +0000
commitc584c7b52512f8443c1e18f799ecf1c95649dd35 (patch)
tree467e93092421d4c82fa63f334541ff1f52f21257
parent547ff10c4dedaba525e3f76b557dab1063848caf (diff)
downloadmandoc-c584c7b52512f8443c1e18f799ecf1c95649dd35.tar.gz
mandoc-c584c7b52512f8443c1e18f799ecf1c95649dd35.tar.zst
mandoc-c584c7b52512f8443c1e18f799ecf1c95649dd35.zip
Added forgotten newline terminators in main.c.
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index 7f02035e..d6a51d8a 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.56 2009/11/02 08:13:48 kristaps Exp $ */
+/* $Id: main.c,v 1.57 2009/11/02 08:29:25 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -531,7 +531,7 @@ moptions(enum intt *tflags, char *arg)
else if (0 == strcmp(arg, "an"))
*tflags = INTT_MAN;
else {
- fprintf(stderr, "%s: Bad argument", arg);
+ fprintf(stderr, "%s: Bad argument\n", arg);
return(0);
}
@@ -552,7 +552,7 @@ toptions(enum outt *tflags, char *arg)
else if (0 == strcmp(arg, "html"))
*tflags = OUTT_HTML;
else {
- fprintf(stderr, "%s: Bad argument", arg);
+ fprintf(stderr, "%s: Bad argument\n", arg);
return(0);
}
@@ -601,7 +601,7 @@ foptions(int *fflags, char *arg)
*fflags &= ~NO_IGN_ESCAPE;
break;
default:
- fprintf(stderr, "%s: Bad argument", o);
+ fprintf(stderr, "%s: Bad argument\n", o);
return(0);
}
}
@@ -630,7 +630,7 @@ woptions(int *wflags, char *arg)
*wflags |= WARN_WERR;
break;
default:
- fprintf(stderr, "%s: Bad argument", o);
+ fprintf(stderr, "%s: Bad argument\n", o);
return(0);
}
}