blob: e919224809510c8bc0f11a3e65dae37e0f03b0b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/man/texinfo2man.c
+++ b/man/texinfo2man.c
@@ -287,6 +287,13 @@
char buf[1024];
int line_no = 0;
+ if (argc != 3)
+ {
+ fprintf(stderr, "Usage: %s <man template> <info file>\n", argv[0]);
+ fprintf(stderr, " The man page will be written to stdout.\n");
+ return -1;
+ }
+
texinfoname = argv[2];
in = fopen (argv[2], "r");
|