Mercurial > hg > octave-nkf
diff doc/interpreter/munge-texi.cc @ 9794:0d4613a736e9
convert build system to use automake and libtool
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 10 Nov 2009 15:02:25 -0500 |
parents | 16f53d29049f |
children | 1506a17832c9 |
line wrap: on
line diff
--- a/doc/interpreter/munge-texi.cc +++ b/doc/interpreter/munge-texi.cc @@ -47,7 +47,7 @@ static void usage (void) { - std::cerr << "usage: munge-texi -d DOCSTRING-FILE file ...\n"; + std::cerr << "usage: munge-texi DOCSTRING-FILE file ...\n"; exit (1); } @@ -310,17 +310,7 @@ main (int argc, char **argv) { while (*++argv) - { - if (! strcmp (*argv, "-d")) - { - if (*++argv) - process_doc_file (*argv); - else - usage (); - } - else - break; - } + process_doc_file (*argv); process_texi_input_file (std::cin, std::cout);