opnsense-ports/devel/ecgi/files/patch-html2h_html2h.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

29 lines
655 B
C

--- html2h/html2h.c.orig 2014-04-26 08:44:43.000000000 +0000
+++ html2h/html2h.c
@@ -6,15 +6,10 @@
void usage()
{
- printf("
-html2h v0.1
-usage:
- html2h input.html [output.h]
-
- if output is not set, input.h will be generated and overwritten!
-
- debug messages are written to stderr!
-
+ printf("html2h v0.1\nusage:\n \
+ html2h input.html [output.h]\n\n \
+ if output is not set, input.h will be generated and overwritten!\n\n \
+ debug messages are written to stderr!\n\n \
");
exit(0);
@@ -415,4 +410,4 @@ void pexit(char *msg, const char *commen
{
fprintf(stderr, "%s%s\n", msg, comment);
exit(1);
-}
\ No newline at end of file
+}